summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothserver_bluez.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-09-06 08:53:47 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-10 09:52:49 +0200
commit1047f9e838c7b3fad79210d193ec334b3d53a0d7 (patch)
tree60e1ea12e3e15126942345d4445292b865191752 /src/bluetooth/qbluetoothserver_bluez.cpp
parente21b666856fe89a13c2c8c1eb7ef6fb18275f9b4 (diff)
Fix compiler warnings
Change-Id: I5d5eca4af0faa392defcec8ac50c7026eaeba2b1 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserver_bluez.cpp')
-rw-r--r--src/bluetooth/qbluetoothserver_bluez.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothserver_bluez.cpp b/src/bluetooth/qbluetoothserver_bluez.cpp
index bf10e963..ae4fbb90 100644
--- a/src/bluetooth/qbluetoothserver_bluez.cpp
+++ b/src/bluetooth/qbluetoothserver_bluez.cpp
@@ -66,7 +66,7 @@ static inline void convertAddress(quint64 from, quint8 (&to)[6])
}
QBluetoothServerPrivate::QBluetoothServerPrivate(QBluetoothServer::ServerType sType)
- : maxPendingConnections(1), socketNotifier(0), serverType(sType)
+ : maxPendingConnections(1), serverType(sType), socketNotifier(0)
{
if (sType == QBluetoothServer::RfcommServer)
socket = new QBluetoothSocket(QBluetoothSocket::RfcommSocket);