summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-01-12 15:13:36 +0100
committercon <qtc-committer@nokia.com>2010-01-12 16:24:31 +0100
commita3cd400bc43d0d9bf0e02f72f078401c6b1e8c76 (patch)
tree7bfedd022979c161ed433d8cc0285443147958e9
parent5cbf5900e7d70f4cf156a51189b8bc51f6017f81 (diff)
downloadqt-creator-a3cd400bc43d0d9bf0e02f72f078401c6b1e8c76.tar.gz
debugger: fix timeout message.
(cherry picked from commit 9ee71d7da98db71be8136631d46b2ccc8ab142f0) Conflicts: src/plugins/debugger/gdb/gdbengine.cpp (cherry picked from commit 77b3bf4d7bc5544485589c168014fc4cc9c23c5d)
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 9105f328ec..3912d03fbc 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -837,10 +837,10 @@ void GdbEngine::commandTimeout()
int timeOut = m_commandTimer->interval();
//m_commandTimer->stop();
const QString msg = tr("The gdb process has not responded "
- "to a command within %n seconds. This could mean it is stuck "
+ "to a command within %1 seconds. This could mean it is stuck "
"in an endless loop or taking longer than expected to perform "
"the operation.\nYou can choose between waiting "
- "longer or abort debugging.", 0, timeOut);
+ "longer or abort debugging.").arg(timeOut / 1000);
QMessageBox *mb = showMessageBox(QMessageBox::Critical,
tr("Gdb not responding"), msg,
QMessageBox::Ok | QMessageBox::Cancel);