diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-02-06 12:50:51 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-02-11 11:55:01 +0000 |
commit | 83dd0319606bd1eb52d1af937e2dd559721214ef (patch) | |
tree | 400b33893880cbe252f603840dbef30b6b6df64c /src/plugins/cmakeprojectmanager/cmakefilecompletionassist.cpp | |
parent | 46c287fee5cea9a4f83c554e2162301a8a70ae5d (diff) |
ProjectExplorer: Rename KitInformation to KitAspect
The name "KitInformation" does not properly convey the fact that it
represents a certain *aspect* of a kit. The same goes for
"KitConfigWidget", which in addition was inconsistent with
"KitInformation".
We now use "KitAspect" and "KitAspectWidget".
Change-Id: I9804ee4cedc4d61fad533ea1dd4e4720e67fde97
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakefilecompletionassist.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakefilecompletionassist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.cpp b/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.cpp index 2a5cf769a8..6d3ef82933 100644 --- a/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.cpp +++ b/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.cpp @@ -64,7 +64,7 @@ IAssistProposal *CMakeFileCompletionAssist::perform(const AssistInterface *inter if (!fileName.isEmpty() && QFileInfo(fileName).isFile()) { Project *p = SessionManager::projectForFile(Utils::FileName::fromString(fileName)); if (p && p->activeTarget()) { - CMakeTool *cmake = CMakeKitInformation::cmakeTool(p->activeTarget()->kit()); + CMakeTool *cmake = CMakeKitAspect::cmakeTool(p->activeTarget()->kit()); if (cmake && cmake->isValid()) kw = cmake->keywords(); } |