History

add UUID helper class to get UUID string without braces

Stephen Birarda committed 13 years ago

Commit 5a7d21f1 parent 13232a47 files · +37 −7Browse files

Showing the changes to libraries/shared/src/UUID.cpp (1 of 7 files). Show all

Unified · Split

libraries/shared/src/UUID.cpp+14−0
@@ -0,0 +1,14 @@
1//
2// UUID.cpp
3// hifi
4//
5// Created by Stephen Birarda on 10/7/13.
6// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
7//
8
9#include "UUID.h"
10
11QString uuidStringWithoutCurlyBraces(const QUuid& uuid) {
12 QString uuidStringNoBraces = uuid.toString().mid(1, uuid.toString().length() - 2);
13 return uuidStringNoBraces;
14}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t