History

set username instead of UUID in Interface preferences

Stephen Birarda committed 13 years ago

Commit e9e77d81 parent f36fd474 files · +9 −12Browse files

Showing the changes to interface/src/DataServerClient.cpp (1 of 4 files). Show all

Unified · Split

interface/src/DataServerClient.cpp+2−2
@@ -52,11 +52,11 @@ void DataServerClient::putValueForKey(const char* key, const char* value) { · 51 unmodified lines
52void DataServerClient::getValueForKeyAndUUID(const char* key, QUuid &uuid) {52void DataServerClient::getValueForKeyAndUUID(const char* key, QUuid &uuid) {
53 if (!uuid.isNull()) {53 if (!uuid.isNull()) {
54 QString uuidString = uuidStringWithoutCurlyBraces(uuid);54 QString uuidString = uuidStringWithoutCurlyBraces(uuid);
55 getValueforKeyAndUserString(key, uuidString);55 getValueForKeyAndUserString(key, uuidString);
56 }56 }
57}57}
58 58
59void DataServerClient::getValueforKeyAndUserString(const char* key, QString& userString) {59void DataServerClient::getValueForKeyAndUserString(const char* key, QString& userString) {
60 unsigned char getPacket[MAX_PACKET_SIZE];60 unsigned char getPacket[MAX_PACKET_SIZE];
61 61
62 // setup the header for this packet62 // setup the header for this packet