summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btchat
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-01-30 12:08:09 +0100
committerAlex Blasche <alexander.blasche@qt.io>2017-01-30 13:06:42 +0000
commit97977bc5f2112c3ac48983f9b7887627085f38d1 (patch)
tree9b1dfc4320a3346f0bbb8018ab6c0bffa4fb3c0b /examples/bluetooth/btchat
parent6cb829a3d123090583082bc4e93af41fdb4bc5e9 (diff)
Remove wrong attribute assignment from btchat example
Change-Id: If6695194644fa0eceec80808115fd09af895a220 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/bluetooth/btchat')
-rw-r--r--examples/bluetooth/btchat/chatserver.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/bluetooth/btchat/chatserver.cpp b/examples/bluetooth/btchat/chatserver.cpp
index 6b21a507..dc1cda57 100644
--- a/examples/bluetooth/btchat/chatserver.cpp
+++ b/examples/bluetooth/btchat/chatserver.cpp
@@ -85,7 +85,6 @@ void ChatServer::startServer(const QBluetoothAddress& localAdapter)
classId.prepend(QVariant::fromValue(QBluetoothUuid(serviceUuid)));
serviceInfo.setAttribute(QBluetoothServiceInfo::ServiceClassIds, classId);
- serviceInfo.setAttribute(QBluetoothServiceInfo::BluetoothProfileDescriptorList,classId);
//! [Class Uuuid must contain at least 1 entry]