forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.6'
Conflicts: src/shared/qbs tests/manual/proparser/main.cpp Change-Id: I13654bf10c14eb6b1d6805fe86b67ac73b2e4d75
This commit is contained in:
@@ -327,7 +327,7 @@ void SessionManager::setActiveBuildConfiguration(Target *target, BuildConfigurat
|
||||
if (otherProject == target->project())
|
||||
continue;
|
||||
Target *otherTarget = otherProject->activeTarget();
|
||||
if (otherTarget->kit()->id() != kitId)
|
||||
if (!otherTarget || otherTarget->kit()->id() != kitId)
|
||||
continue;
|
||||
|
||||
foreach (BuildConfiguration *otherBc, otherTarget->buildConfigurations()) {
|
||||
@@ -355,7 +355,7 @@ void SessionManager::setActiveDeployConfiguration(Target *target, DeployConfigur
|
||||
if (otherProject == target->project())
|
||||
continue;
|
||||
Target *otherTarget = otherProject->activeTarget();
|
||||
if (otherTarget->kit()->id() != kitId)
|
||||
if (!otherTarget || otherTarget->kit()->id() != kitId)
|
||||
continue;
|
||||
|
||||
foreach (DeployConfiguration *otherDc, otherTarget->deployConfigurations()) {
|
||||
|
||||
Reference in New Issue
Block a user