From 0632648be64c2da5ecc8f9744cfd7967ead7fb7d Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 21 Sep 2023 13:45:26 +0200 Subject: [PATCH] CMakePM: Remove the CMake introspection after CMake project load Will be done in the CMake editor. No need to slow the project loading when you don't do any editing of CMake files. Initially I wanted to have it already loaded when code completion is done, but doing once when a CMake editor is opened is better. Change-Id: I1eda2a64e708bfa4fab5ab749059a08769800eba Reviewed-by: Reviewed-by: Alessandro Portale --- src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index 0d3dd00149e..d8bb9155856 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp @@ -1283,10 +1283,6 @@ void CMakeBuildSystem::setupCMakeSymbolsHash() m_projectKeywords.functions << QString::fromUtf8(arg.Value); } } - - // Code completion setup - if (CMakeTool *tool = CMakeKitAspect::cmakeTool(target()->kit())) - tool->keywords(); } void CMakeBuildSystem::ensureBuildDirectory(const BuildDirParameters ¶meters)