diff options
Diffstat (limited to 'src/plugins/debugger/gdb/remotegdbadapter.cpp')
-rw-r--r-- | src/plugins/debugger/gdb/remotegdbadapter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/debugger/gdb/remotegdbadapter.cpp b/src/plugins/debugger/gdb/remotegdbadapter.cpp index 4550359956..b144c14620 100644 --- a/src/plugins/debugger/gdb/remotegdbadapter.cpp +++ b/src/plugins/debugger/gdb/remotegdbadapter.cpp @@ -203,7 +203,7 @@ void RemoteGdbAdapter::handleFileExecAndSymbols(const GdbResponse &response) CB(handleTargetRemote)); } else { QString msg = tr("Starting remote executable failed:\n"); - msg += __(response.data.findChild("msg").data()); + msg += QString::fromLocal8Bit(response.data.findChild("msg").data()); emit inferiorStartFailed(msg); } } @@ -219,7 +219,8 @@ void RemoteGdbAdapter::handleTargetRemote(const GdbResponse &record) emit inferiorPrepared(); } else { // 16^error,msg="hd:5555: Connection timed out." - QString msg = msgConnectRemoteServerFailed(__(record.data.findChild("msg").data())); + QString msg = msgConnectRemoteServerFailed( + QString::fromLocal8Bit(record.data.findChild("msg").data())); emit inferiorStartFailed(msg); } } |