diff options
-rw-r--r-- | src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp | 4 | ||||
-rw-r--r-- | src/bluetooth/qbluetoothservicediscoveryagent_p.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp b/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp index ae51d681..87172654 100644 --- a/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp +++ b/src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp @@ -194,7 +194,7 @@ void QBluetoothServiceDiscoveryAgentPrivate::startBluez5(const QBluetoothAddress * done out-of-process to avoid license issues. At this stage Bluez uses GPLv2. */ void QBluetoothServiceDiscoveryAgentPrivate::runExternalSdpScan( - const QBluetoothAddress &remoteAddress, const QBluetoothAddress localAddress) + const QBluetoothAddress &remoteAddress, const QBluetoothAddress &localAddress) { Q_Q(QBluetoothServiceDiscoveryAgent); @@ -426,7 +426,7 @@ void QBluetoothServiceDiscoveryAgentPrivate::_q_createdDevice(QDBusPendingCallWa discoverServices(deviceObjectPath.value().path()); } -void QBluetoothServiceDiscoveryAgentPrivate::discoverServices(const QString deviceObjectPath) +void QBluetoothServiceDiscoveryAgentPrivate::discoverServices(const QString &deviceObjectPath) { Q_Q(QBluetoothServiceDiscoveryAgent); diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_p.h b/src/bluetooth/qbluetoothservicediscoveryagent_p.h index c4d5017a..595dd04c 100644 --- a/src/bluetooth/qbluetoothservicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothservicediscoveryagent_p.h @@ -137,12 +137,12 @@ private: #ifdef QT_BLUEZ_BLUETOOTH void startBluez5(const QBluetoothAddress &address); void runExternalSdpScan(const QBluetoothAddress &remoteAddress, - const QBluetoothAddress localAddress); + const QBluetoothAddress &localAddress); void sdpScannerDone(int exitCode, QProcess::ExitStatus exitStatus); QVariant readAttributeValue(QXmlStreamReader &xml); QBluetoothServiceInfo parseServiceXml(const QString& xml); void performMinimalServiceDiscovery(const QBluetoothAddress &deviceAddress); - void discoverServices(const QString deviceObjectPath); + void discoverServices(const QString &deviceObjectPath); #endif public: |