summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2023-05-21 01:15:37 +0000
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-05-24 10:15:39 +0900
commit189605f7208c8f990e6a3a7ef2763634767fb6f5 (patch)
tree03840c74e5cba1d1bbb1587c87121ec70c08197c
parent5dbd02e3d85477714eb0293f41d76ff1b5d00ca8 (diff)
downloadtdebluez-189605f7208c8f990e6a3a7ef2763634767fb6f5.tar.gz
tdebluez-189605f7208c8f990e6a3a7ef2763634767fb6f5.zip
This fixes "Connecting device not working" issue #25
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
-rw-r--r--src/tdebluez/devicewizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdebluez/devicewizard.cpp b/src/tdebluez/devicewizard.cpp
index ee4c04b..049c19a 100644
--- a/src/tdebluez/devicewizard.cpp
+++ b/src/tdebluez/devicewizard.cpp
@@ -246,7 +246,7 @@ void DeviceWizard::slotConnectButton()
tqDebug(i18n("Device getAddress failed: %1").arg(dbuserr.message()));
if (sel->text(2) == addr)
{
- if (connectButton->text() == "C&onnect")
+ if (connectButton->text() == i18n("C&onnect"))
{
connectingDevice.state = ConState::CONNECTING;
connectingDevice.address = addr;