Fixes: Start Debugging beeing disabled.

Task:     Reported on internal irc.
Details:  a finished() signal could already be emitted from start(), so
we need to set m_debugginRunControl before start().
This commit is contained in:
dt
2008-12-17 15:14:16 +01:00
parent b6711f19d2
commit c7ad6ec5e4

View File

@@ -1086,12 +1086,11 @@ void ProjectExplorerPlugin::buildQueueFinished(bool success)
this, SLOT(addErrorToApplicationOutputWindow(RunControl *, const QString &)));
connect(control, SIGNAL(finished()),
this, SLOT(runControlFinished()));
control->start();
if (m_runMode == ProjectExplorer::Constants::DEBUGMODE)
m_debuggingRunControl = control;
control->start();
updateRunAction();
}
} else {