Debugger: Keep secondary dialogs on top of the main window

Change-Id: I1f4283a5727db976d999d4cf4c7e444de8592566
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
hjk
2013-10-16 17:11:39 +02:00
parent 066f7b7594
commit b63f3f808c
5 changed files with 17 additions and 16 deletions

View File

@@ -207,7 +207,7 @@ static QMessageBox *
nonModalMessageBox(QMessageBox::Icon icon, const QString &title, const QString &text)
{
QMessageBox *mb = new QMessageBox(icon, title, text, QMessageBox::Ok,
debuggerCore()->mainWindow());
Core::ICore::mainWindow());
mb->setAttribute(Qt::WA_DeleteOnClose);
mb->show();
return mb;