summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothlocaldevice_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2019-12-05 14:46:56 +0100
committerAlex Blasche <alexander.blasche@qt.io>2020-01-14 08:10:20 +0000
commita9b5b10ce113db1c1bb3d42d058caa7b8e1a964a (patch)
treea0c6c04ab8e1d9d0f6a307f0763acb3c5b7ef7b4 /src/bluetooth/qbluetoothlocaldevice_p.h
parent738036cb79cf49a0054b94d1dee20675f095ade2 (diff)
Fix up broken PropertiesChanged connectionsv5.14.1
Change b7b979d1735764930cc6f736cfa8e22b71547ea8 introduced a slightly modified version of the OrgFreedesktopDBusPropertiesInterface::PropertiesChanged signal. This signal was taken into use in one case but all other instances of this signal were not modified and broken. This patch modifies the remaining cases and converts the connect statements to function pointer syntax. This forces the compiler to check that signal and slot parameters match. Change-Id: I41b45f7e2f7b66ff29f321acc38ff2ce1c81864e Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Thiemo van Engelen <tvanengelen@victronenergy.com>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_p.h')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_p.h b/src/bluetooth/qbluetoothlocaldevice_p.h
index d86ab22f..0c88f691 100644
--- a/src/bluetooth/qbluetoothlocaldevice_p.h
+++ b/src/bluetooth/qbluetoothlocaldevice_p.h
@@ -201,7 +201,8 @@ public slots:
private Q_SLOTS:
void PropertiesChanged(const QString &interface,
const QVariantMap &changed_properties,
- const QStringList &invalidated_properties);
+ const QStringList &invalidated_properties,
+ const QDBusMessage &signal);
void InterfacesAdded(const QDBusObjectPath &object_path,
InterfaceList interfaces_and_properties);
void InterfacesRemoved(const QDBusObjectPath &object_path,