summaryrefslogtreecommitdiff
path: root/src/plugins/autotoolsprojectmanager
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-08-21 12:48:46 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-08-21 16:55:16 +0200
commit95859289b8cd48009515829c762869191d5adb92 (patch)
treefd50c8d09144c21afc4b52854336f91db9b6dca0 /src/plugins/autotoolsprojectmanager
parent6ee2d554e1316e4d2e97510551c77696e65ce3d4 (diff)
downloadqt-creator-95859289b8cd48009515829c762869191d5adb92.tar.gz
KitManager: Use static API as other singletons do
Change-Id: Ia49c6552a5aae72870687ef9c64f2642fbe24155 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsproject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp
index e0771d9468..06c9fbb51c 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp
@@ -157,7 +157,7 @@ bool AutotoolsProject::fromMap(const QVariantMap &map)
// Load the project tree structure.
loadProjectTree();
- Kit *defaultKit = KitManager::instance()->defaultKit();
+ Kit *defaultKit = KitManager::defaultKit();
if (!activeTarget() && defaultKit)
addTarget(createTarget(defaultKit));