From a1000e1eec0e6e93177d5bdc3abd66229ea32b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com> Date: Thu, 8 Apr 2010 16:19:29 +0200 Subject: [PATCH] Reverse the order of FakeVim setting pages Reviewed-by: hjk --- src/plugins/coreplugin/actionmanager/commandmappings.cpp | 1 - src/plugins/fakevim/fakevimplugin.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/actionmanager/commandmappings.cpp b/src/plugins/coreplugin/actionmanager/commandmappings.cpp index a1c9801f308..063f952cf25 100644 --- a/src/plugins/coreplugin/actionmanager/commandmappings.cpp +++ b/src/plugins/coreplugin/actionmanager/commandmappings.cpp @@ -163,7 +163,6 @@ void CommandMappings::filterChanged(const QString &f) bool CommandMappings::filter(const QString &f, const QTreeWidgetItem *item) { - if (QTreeWidgetItem *parent = item->parent()) { if (parent->text(0).contains(f, Qt::CaseInsensitive)) return false; diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index 25fcf08ceee..c5c5c362396 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -100,8 +100,8 @@ const char * const INSTALL_HANDLER = "TextEditor.FakeVimHandler"; const char * const MINI_BUFFER = "TextEditor.FakeVimMiniBuffer"; const char * const INSTALL_KEY = "Alt+V,Alt+V"; const char * const SETTINGS_CATEGORY = "D.FakeVim"; -const char * const SETTINGS_ID = "General"; -const char * const SETTINGS_EX_CMDS_ID = "ExCommands"; +const char * const SETTINGS_ID = "A.General"; +const char * const SETTINGS_EX_CMDS_ID = "B.ExCommands"; const char * const CMD_FILE_NEXT = "FakeVim.SwitchFileNext"; const char * const CMD_FILE_PREV = "FakeVim.SwitchFilePrev"; -- GitLab