summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothlocaldevice_p.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2022-02-18 10:44:14 +0200
committerJuha Vuolle <juha.vuolle@insta.fi>2022-02-21 09:20:40 +0200
commite91c9ce06c92df424e2fd6d8acda1a4eda843923 (patch)
treec536c2c72b19b22c88d554860c08d232ceb5da18 /src/bluetooth/qbluetoothlocaldevice_p.cpp
parent2de33f78ec374ce6963b9c1715e4942c8cf70bb0 (diff)
Change qbluetoothlocaldevice error signal name usage to errorOccurred
The error was renamed to errorOccurred in Qt 6. Pick-to: 6.2 6.3 Change-Id: Ie4ca189fed3d985e80d3f3079569771a306af25a Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_p.cpp')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_p.cpp b/src/bluetooth/qbluetoothlocaldevice_p.cpp
index 50429f6f..b003626c 100644
--- a/src/bluetooth/qbluetoothlocaldevice_p.cpp
+++ b/src/bluetooth/qbluetoothlocaldevice_p.cpp
@@ -103,7 +103,7 @@ void QBluetoothLocalDevice::requestPairing(const QBluetoothAddress &address, Pai
{
Q_UNUSED(address);
Q_UNUSED(pairing);
- QMetaObject::invokeMethod(this, "error", Qt::QueuedConnection,
+ QMetaObject::invokeMethod(this, "errorOccurred", Qt::QueuedConnection,
Q_ARG(QBluetoothLocalDevice::Error,
QBluetoothLocalDevice::PairingError));
}