summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-27 16:02:02 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-27 14:11:57 +0000
commit41fb5d9c90f905bfad8f75161397bd179dd2b97c (patch)
tree4bcecacad3fcc2acfe5229db27c68c51a182159d /src/imports
parentdb13bb190e1686cbacbcc8bc841c65e5dc477c28 (diff)
Emit missing BluetoothService.detailsChanged signal
Device address and service name changes never triggered the signal despite the documentation and Q_PROPERTY definitions requiring it. Change-Id: I5d3d5f827b3e092bce3c2e7a4ce3cf687b251e6e Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/bluetooth/qdeclarativebluetoothservice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/bluetooth/qdeclarativebluetoothservice.cpp b/src/imports/bluetooth/qdeclarativebluetoothservice.cpp
index 9e966ab8..297dfc82 100644
--- a/src/imports/bluetooth/qdeclarativebluetoothservice.cpp
+++ b/src/imports/bluetooth/qdeclarativebluetoothservice.cpp
@@ -159,6 +159,7 @@ void QDeclarativeBluetoothService::setDeviceAddress(const QString &newAddress)
QBluetoothAddress address(newAddress);
QBluetoothDeviceInfo device(address, QString(), QBluetoothDeviceInfo::ComputerDevice);
d->m_service->setDevice(device);
+ emit detailsChanged();
}
/*!
@@ -176,6 +177,7 @@ QString QDeclarativeBluetoothService::serviceName() const
void QDeclarativeBluetoothService::setServiceName(const QString &name)
{
d->m_service->setServiceName(name);
+ emit detailsChanged();
}