aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/kitmanager.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-07-03 15:43:54 +0200
committerTobias Hunger <tobias.hunger@qt.io>2018-07-12 08:18:16 +0000
commit4a062dff13c445b4be4103c03ee2fd8b7130e692 (patch)
tree88b6ab36d0b05c91cca468419fada9d41ffa1de2 /src/plugins/projectexplorer/kitmanager.h
parent9ee022af7c1e4bd50e1e912495a8fa4ad63c5a53 (diff)
ProjectExplorer: Make KitManager::kits(...) return an empty list during load
Make KitManager::kits(...) return an empty list during the time a kit is loaded. Simplify initialization of loading function. It is only triggered in ProjectExplorerPlugin::delayedInitialize, so that is safe. Change-Id: I2ed67d881b019b70cdcc23fcc4b0d48d04fa1df6 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/kitmanager.h')
-rw-r--r--src/plugins/projectexplorer/kitmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/kitmanager.h b/src/plugins/projectexplorer/kitmanager.h
index 16377df37b..4f25339f0a 100644
--- a/src/plugins/projectexplorer/kitmanager.h
+++ b/src/plugins/projectexplorer/kitmanager.h
@@ -176,7 +176,7 @@ private:
KitList restoreKits(const Utils::FileName &fileName);
static void notifyAboutUpdate(Kit *k);
- void addKit(Kit *k);
+ static void completeKit(Kit *k);
friend class ProjectExplorerPlugin; // for constructor
friend class Kit;