debugger: make the message box informing of received signals non-blocking.

This commit is contained in:
hjk
2009-08-13 17:38:36 +02:00
parent 84bacc802c
commit 32e839c2a2

View File

@@ -1196,7 +1196,10 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
"<tr><td>Signal meaning : </td><td>%2</td></tr></table>")
.arg(name.isEmpty() ? tr(" <Unknown> ") : _(name))
.arg(meaning.isEmpty() ? tr(" <Unknown> ") : _(meaning));
QMessageBox::information(q->mainWindow(), tr("Signal received"), msg);
QMessageBox *mb = new QMessageBox(QMessageBox::Information,
tr("Signal received"), msg);
mb->setAttribute(Qt::WA_DeleteOnClose);
mb->show();
}
if (reason.isEmpty())