diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-04-11 09:48:17 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-04-11 09:51:17 +0200 |
commit | a751e447bc06b0b16f2a9930658bd56dab12a7e8 (patch) | |
tree | 7927446ad7535c22e38fbe521a870e0486babc50 /src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp | |
parent | f0742b620ce036964ea442c6d435d705d32be77f (diff) | |
download | qt-creator-a751e447bc06b0b16f2a9930658bd56dab12a7e8.tar.gz |
CMake: Fix warning about unused variable
ICore::actionManager() is a static function.
Change-Id: Ic687dd1e41923e962f8eaf12b513dc188655d9c6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp b/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp index f054f6f066..86756f8657 100644 --- a/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp @@ -57,8 +57,7 @@ CMakeEditorFactory::CMakeEditorFactory(CMakeManager *manager) TextEditorActionHandler::UnCommentSelection | TextEditorActionHandler::JumpToFileUnderCursor); - ICore *core = ICore::instance(); - ActionManager *am = core->actionManager(); + ActionManager *am = ICore::actionManager(); ActionContainer *contextMenu = am->createMenu(Constants::M_CONTEXT); Command *cmd; Context cmakeEditorContext = Context(Constants::C_CMAKEEDITOR); |