diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2015-09-28 20:20:31 +0300 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2015-10-01 15:45:06 +0000 |
commit | 3e7d0c6b62d2fd6acd2c8a64b8e007729843e088 (patch) | |
tree | 790427797ccc85ddca2b4af5eb6544db53c9a3d8 /src/bluetooth/qlowenergycontroller_win.cpp | |
parent | 86a716072ee6ccf59dba8a474d15558eb1438966 (diff) |
Windows: Use the new signsl/slot syntax
Change-Id: I9ff77b2a245e41257521d1bac7474864c90dedaf
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_win.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qlowenergycontroller_win.cpp b/src/bluetooth/qlowenergycontroller_win.cpp index dd54b202..8342e3ce 100644 --- a/src/bluetooth/qlowenergycontroller_win.cpp +++ b/src/bluetooth/qlowenergycontroller_win.cpp @@ -240,8 +240,8 @@ void QLowEnergyControllerPrivate::startDiscoveryOfPrimaryServices() primaryServicesDiscoveryWatcher = new QFutureWatcher< WinLowEnergyBluetooth::ServicesDiscoveryResult>(this); - QObject::connect(primaryServicesDiscoveryWatcher, SIGNAL(finished()), - this, SLOT(primaryServicesDiscoveryCompleted())); + connect(primaryServicesDiscoveryWatcher, &QFutureWatcher<WinLowEnergyBluetooth::ServicesDiscoveryResult>::finished, + this, &QLowEnergyControllerPrivate::primaryServicesDiscoveryCompleted); } if (primaryServicesDiscoveryWatcher->isRunning()) |