summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qt4projectmanager/qt4buildconfiguration.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt4buildconfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp b/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
index 41b57a3157..2ffd47c193 100644
--- a/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
+++ b/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
@@ -164,7 +164,7 @@ bool Qt4BuildConfiguration::fromMap(const QVariantMap &map)
if (tc && !qt4Target()->possibleToolChains(this).contains(tc))
setToolChain(0);
if (!toolChain())
- tc = qt4Target()->preferredToolChain(this);
+ setToolChain(qt4Target()->preferredToolChain(this));
m_shadowBuild = (m_shadowBuild && version->supportsShadowBuilds());
}