aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <[email protected]>2017-10-15 00:23:08 +0300
committerOrgad Shaneh <[email protected]>2017-10-15 00:23:08 +0300
commit7a04014f9f9ef7e36e3631022bf26b6b810e473e (patch)
tree181784c7760921e6f873e1005e9d6b133493c2b7 /src/plugins/debugger/debuggerplugin.cpp
parent5a7a8cbf74144768a11f99893108a7845b99ce1a (diff)
parentb67bf73dc7d3bfb61cd0dc36e41cc20a1f1e0fc4 (diff)
Merge remote-tracking branch 'origin/4.5'
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 57968096b62..23ef2ba06cf 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -3425,6 +3425,7 @@ static BuildConfiguration::BuildType startupBuildType()
void showCannotStartDialog(const QString &text)
{
QMessageBox *errorDialog = new QMessageBox(ICore::mainWindow());
+ errorDialog->setAttribute(Qt::WA_DeleteOnClose);
errorDialog->setIcon(QMessageBox::Warning);
errorDialog->setWindowTitle(text);
errorDialog->setText(DebuggerPlugin::tr("Cannot start %1 without a project. Please open the project "