summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp')
-rw-r--r--src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp b/src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp
index cf91efc8..4660e84c 100644
--- a/src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp
+++ b/src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp
@@ -97,7 +97,7 @@ void QBluetoothDeviceDiscoveryAgentPrivate::start()
qCWarning(QT_BT_QNX) << Q_FUNC_INFO << "rdfd - failed to open /pps/services/bluetooth/remote_devices/.all"
<< m_rdfd;
lastError = QBluetoothDeviceDiscoveryAgent::InputOutputError;
- errorString = "Cannot open remote device socket";
+ errorString = QBluetoothDeviceDiscoveryAgent::tr("Cannot open remote device socket");
emit q->error(lastError);
stop();
return;
@@ -106,7 +106,7 @@ void QBluetoothDeviceDiscoveryAgentPrivate::start()
if (!m_rdNotifier) {
qCWarning(QT_BT_QNX) << Q_FUNC_INFO << "failed to connect to m_rdNotifier";
lastError = QBluetoothDeviceDiscoveryAgent::InputOutputError;
- errorString = "Cannot connect to Bluetooth socket notifier";
+ errorString = QBluetoothDeviceDiscoveryAgent::tr("Cannot connect to Bluetooth socket notifier");
emit q->error(lastError);
stop();
return;
@@ -121,7 +121,7 @@ void QBluetoothDeviceDiscoveryAgentPrivate::start()
qCWarning(QT_BT_QNX) << "Could not write to control FD";
m_active = false;
lastError = QBluetoothDeviceDiscoveryAgent::InputOutputError;
- errorString = "Cannot start device inquiry";
+ errorString = QBluetoothDeviceDiscoveryAgent::tr("Cannot start device inquiry");
q->error(QBluetoothDeviceDiscoveryAgent::InputOutputError);
return;
}