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

@@ -33,6 +33,7 @@
#include "debuggeractions.h"
#include "debuggercore.h"
#include <coreplugin/mainwindow.h>
#include <utils/pathchooser.h>
#include <utils/qtcassert.h>
#include <utils/savedaction.h>
@@ -865,7 +866,7 @@ void BreakTreeView::setBreakpointsEnabled(const BreakpointModelIds &ids, bool en
void BreakTreeView::deleteAllBreakpoints()
{
if (QMessageBox::warning(debuggerCore()->mainWindow(),
if (QMessageBox::warning(Core::ICore::mainWindow(),
tr("Remove All Breakpoints"),
tr("Are you sure you want to remove all breakpoints "
"from all files in the current session?"),