Fix setToolchain, ups

Change-Id: Ie300f6786336a663e12e52a2546e8ebf0458e080
Reviewed-by: pending
Reviewed-on: http://codereview.qt-project.org/5728
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Daniel Teske
2011-09-28 15:38:48 +02:00
parent 5240a46a61
commit bd32f47269

View File

@@ -378,7 +378,7 @@ void Qt4BuildConfiguration::setToolChain(ProjectExplorer::ToolChain *tc)
if (tc != 0 && !qt4Target()->possibleToolChains(this).contains(tc))
return;
if (toolChain() != tc)
if (toolChain() == tc)
return;
BuildConfiguration::setToolChain(tc);