debugger: fix timeout message.

(cherry picked from commit 9ee71d7da9)

Conflicts:

	src/plugins/debugger/gdb/gdbengine.cpp
This commit is contained in:
con
2010-01-12 15:13:36 +01:00
parent 79bf418305
commit 77b3bf4d7b

View File

@@ -837,10 +837,10 @@ void GdbEngine::commandTimeout()
int timeOut = m_commandTimer->interval(); int timeOut = m_commandTimer->interval();
//m_commandTimer->stop(); //m_commandTimer->stop();
const QString msg = tr("The gdb process has not responded " 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 " "in an endless loop or taking longer than expected to perform "
"the operation.\nYou can choose between waiting " "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, QMessageBox *mb = showMessageBox(QMessageBox::Critical,
tr("Gdb not responding"), msg, tr("Gdb not responding"), msg,
QMessageBox::Ok | QMessageBox::Cancel); QMessageBox::Ok | QMessageBox::Cancel);