diff options
author | Daniel Teske <daniel.teske@nokia.com> | 2011-09-28 12:00:29 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@nokia.com> | 2011-09-28 12:11:14 +0200 |
commit | c4f7b0c7b419dd5da767c439db973708f53e87f0 (patch) | |
tree | 5a12e781c66a95b4bee68f4f8c8c8170b220d54e /src/plugins/qt4projectmanager | |
parent | 1a72d7cbcf618c4890ad1cb385fa482369582044 (diff) | |
download | qt-creator-c4f7b0c7b419dd5da767c439db973708f53e87f0.tar.gz |
Fix endless evaluate loop for invalid qts
Change-Id: Id4ba165f95876cc0b986f5db7e6a788c3fdb2dc0
Reviewed-on: http://codereview.qt-project.org/5709
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/qt4projectmanager')
-rw-r--r-- | src/plugins/qt4projectmanager/qt4buildconfiguration.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp b/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp index f8c3db17a4..f5e9f9f3c4 100644 --- a/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp +++ b/src/plugins/qt4projectmanager/qt4buildconfiguration.cpp @@ -378,6 +378,9 @@ void Qt4BuildConfiguration::setToolChain(ProjectExplorer::ToolChain *tc) if (tc != 0 && !qt4Target()->possibleToolChains(this).contains(tc)) return; + if (toolChain() != tc) + return; + BuildConfiguration::setToolChain(tc); emit proFileEvaluateNeeded(this); |