forked from qt-creator/qt-creator
Make Open Project wizard skippable
Task-Nr: QTCREATORBUG-6063 Change-Id: Ieace3e9e68b4e0342c35ac7c279f4b0b61076419 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -1484,9 +1484,10 @@ void DebuggerPluginPrivate::onCurrentProjectChanged(Project *project)
|
||||
RunConfiguration *activeRc = 0;
|
||||
if (project) {
|
||||
Target *target = project->activeTarget();
|
||||
QTC_ASSERT(target, return);
|
||||
activeRc = target->activeRunConfiguration();
|
||||
QTC_CHECK(activeRc);
|
||||
if (target)
|
||||
activeRc = target->activeRunConfiguration();
|
||||
if (!activeRc)
|
||||
return;
|
||||
}
|
||||
for (int i = 0, n = m_snapshotHandler->size(); i != n; ++i) {
|
||||
// Run controls might be deleted during exit.
|
||||
|
||||
Reference in New Issue
Block a user