summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothserviceinfo.cpp
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire@kdab.com>2013-07-30 13:54:01 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-30 17:20:45 +0200
commit9fd5b313aafa5fc4a7868a2cd22c18c5f63ff051 (patch)
tree0d92e85de46ae923f94d816db96cf3bede067f3c /src/bluetooth/qbluetoothserviceinfo.cpp
parent9d48c9ab87fd30cf0b1183d786c70e19a3835be7 (diff)
Use the getter instead of accessing the value directly
This fixes a valgrind issue with the dummy backend and sdds the getter to the Bluez backernd. Change-Id: I55c785e01bb428819b8ae9a936b761c3697ecb50 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserviceinfo.cpp')
-rw-r--r--src/bluetooth/qbluetoothserviceinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo.cpp b/src/bluetooth/qbluetoothserviceinfo.cpp
index 5cc53ea4..693d8573 100644
--- a/src/bluetooth/qbluetoothserviceinfo.cpp
+++ b/src/bluetooth/qbluetoothserviceinfo.cpp
@@ -140,7 +140,7 @@ QT_BEGIN_NAMESPACE_BLUETOOTH
bool QBluetoothServiceInfo::isRegistered() const
{
Q_D(const QBluetoothServiceInfo);
- return d->registered;
+ return d->isRegistered();
}
/*!