diff options
author | Eike Ziller <eike.ziller@digia.com> | 2012-12-14 08:20:49 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2012-12-14 08:20:49 +0100 |
commit | a8a33b9a3b2bab7660a53919bfbfa011e31755d3 (patch) | |
tree | 0d091c18a3e3b666c91d6562ce6f59400a997362 /src/plugins/projectexplorer/kitmanager.cpp | |
parent | fe6be533bc8942617d3a7a7b6b554b5298b492b7 (diff) | |
parent | 6d83dda6df643eca4c720cb474cc5636d8e60ff5 (diff) | |
download | qt-creator-a8a33b9a3b2bab7660a53919bfbfa011e31755d3.tar.gz |
Merge remote-tracking branch 'origin/2.6'
Conflicts:
src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
src/plugins/qtsupport/baseqtversion.cpp
Change-Id: I288eeb1137e1b08d6c0d69f394cbb0fe1a937b68
Diffstat (limited to 'src/plugins/projectexplorer/kitmanager.cpp')
-rw-r--r-- | src/plugins/projectexplorer/kitmanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/kitmanager.cpp b/src/plugins/projectexplorer/kitmanager.cpp index 5e61af1266..a036cfb97d 100644 --- a/src/plugins/projectexplorer/kitmanager.cpp +++ b/src/plugins/projectexplorer/kitmanager.cpp @@ -168,6 +168,13 @@ void KitManager::restoreKits() if (kitsToCheck.at(i)->id() == current->id()) { toStore = kitsToCheck.at(i); kitsToCheck.removeAt(i); + + // Overwrite settings that the SDK sets to those values: + foreach (const KitInformation *ki, kitInformation()) { + if (current->hasValue(ki->dataId())) + toStore->setValue(ki->dataId(), current->value(ki->dataId())); + } + delete current; break; } |