summaryrefslogtreecommitdiffstats
path: root/src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp
diff options
context:
space:
mode:
authorAndrew Stanley-Jones <andrew.stanley-jones@nokia.com>2010-12-20 16:53:09 +1000
committerAndrew Stanley-Jones <andrew.stanley-jones@nokia.com>2010-12-24 10:36:42 +1000
commit56e17cab304ec94d9f85c5bec6193ad94b76388c (patch)
tree84749186d3bf817f9bf501ad69afde345879893b /src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp
parent91dfb205c43411fecb6fe8f4c55990d4a5276c6d (diff)
Add bluetooth tennis example, bug fixing
Diffstat (limited to 'src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp')
-rw-r--r--src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp b/src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp
index 18c5da9da1..36ed41f3ba 100644
--- a/src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp
+++ b/src/connectivity/bluetooth/qbluetoothserviceinfo_bluez.cpp
@@ -70,6 +70,7 @@ static void writeAttribute(QXmlStreamWriter *stream, const QVariant &attribute)
unsignedFormat.arg(attribute.value<quint16>(), 4, 16,
QLatin1Char('0')));
//stream->writeAttribute(QLatin1String("name"), foo);
+ break;
case QMetaType::UInt:
stream->writeEmptyElement(QLatin1String("uint32"));
stream->writeAttribute(QLatin1String("value"),
@@ -276,6 +277,8 @@ bool QBluetoothServiceInfoPrivate::registerService() const
stream.writeEndDocument();
+// qDebug() << xmlServiceRecord;
+
if (!registered) {
QDBusPendingReply<uint> reply = service->AddRecord(xmlServiceRecord);
reply.waitForFinished();