centralize message box handling in adapters

This commit is contained in:
Oswald Buddenhagen
2009-10-20 17:43:06 +02:00
parent 30745d049f
commit a4760b716e
3 changed files with 4 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ void TermGdbAdapter::shutdown()
void TermGdbAdapter::stubError(const QString &msg)
{
QMessageBox::critical(m_engine->mainWindow(), tr("Debugger Error"), msg);
showMessageBox(QMessageBox::Critical, tr("Debugger Error"), msg);
}
void TermGdbAdapter::stubExited()