From edeb93d6fa36b06b90c55ff83ed1bfcd92352166 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Fri, 10 Jul 2009 13:35:24 +0200
Subject: [PATCH] micro-optimization

---
 src/plugins/qt4projectmanager/qt4project.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/qt4projectmanager/qt4project.cpp b/src/plugins/qt4projectmanager/qt4project.cpp
index 4e3f28c3aa6..bff11da668a 100644
--- a/src/plugins/qt4projectmanager/qt4project.cpp
+++ b/src/plugins/qt4projectmanager/qt4project.cpp
@@ -407,7 +407,7 @@ QString Qt4Project::makeCommand(const QString &buildConfiguration) const
 QString Qt4Project::defaultMakeTarget(const QString &buildConfiguration) const
 {
     ToolChain *tc = toolChain(buildConfiguration);
-    return tc ? toolChain(buildConfiguration)->defaultMakeTarget() : "";
+    return tc ? tc->defaultMakeTarget() : "";
 }
 
 void Qt4Project::updateCodeModel()
-- 
GitLab