summaryrefslogtreecommitdiff
path: root/gatouuid.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-12-07 01:51:59 +0100
committerJavier S. Pedro <maemo@javispedro.com>2013-12-07 01:51:59 +0100
commit55496b91d2b144c5b8aafd20a8c8332aee4607ab (patch)
tree877b7ae6e8ea63000272270e54e665ecdb8d80f3 /gatouuid.cpp
parenta7161d92f965848049dbb2eaa80cce0aa178c0ed (diff)
downloadlibgato-55496b91d2b144c5b8aafd20a8c8332aee4607ab.tar.gz
libgato-55496b91d2b144c5b8aafd20a8c8332aee4607ab.zip
add a method to retrieve a known device from a manager
Diffstat (limited to 'gatouuid.cpp')
-rw-r--r--gatouuid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gatouuid.cpp b/gatouuid.cpp
index f87831a..9a2be76 100644
--- a/gatouuid.cpp
+++ b/gatouuid.cpp
@@ -165,13 +165,13 @@ QDebug operator<<(QDebug debug, const GatoUUID &uuid)
uuid16 = uuid.toUInt16(&ok);
if (ok) {
- debug.nospace() << "0x" << uuid16;
+ debug.nospace() << "0x" << hex << uuid16 << dec;
return debug.space();
}
uuid32 = uuid.toUInt32(&ok);
if (ok) {
- debug.nospace() << "0x" << uuid32;
+ debug.nospace() << "0x" << hex << uuid32 << dec;
return debug.space();
}