summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdevicediscoveryagent_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_p.h')
-rw-r--r--src/bluetooth/qbluetoothdevicediscoveryagent_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h
index 489ed807..d60e89fa 100644
--- a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h
+++ b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h
@@ -96,7 +96,7 @@ class ThreadWorkerClassic : public QObject
{
Q_OBJECT
public:
- Q_INVOKABLE void discover(QVariant hSearch);
+ Q_INVOKABLE void discover(const QVariant &hSearch);
signals:
void discoveryCompleted(const QVariant res);
};
@@ -198,9 +198,9 @@ private:
void finishDiscovery(QBluetoothDeviceDiscoveryAgent::Error errorCode, const QString &errorText);
void startLeDevicesDiscovery();
- void completeLeDevicesDiscovery(const QVariant res);
+ void completeLeDevicesDiscovery(const QVariant &res);
void startClassicDevicesDiscovery(Qt::HANDLE hSearch = nullptr);
- void completeClassicDevicesDiscovery(const QVariant res);
+ void completeClassicDevicesDiscovery(const QVariant &res);
void processDiscoveredDevice(const QBluetoothDeviceInfo &foundDevice);