From c12c9635cdceaea1d8eb7efc61d7c527817b5844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Aum=C3=BCller?= <aumuell@reserv.at> Date: Tue, 26 Oct 2010 10:56:32 +0200 Subject: [PATCH] fakevim: don't send ':set ic' and ':set noic' to handler in order to avoid warning about unsupported option Merge-request: 190 Reviewed-by: hjk <qtc-committer@nokia.com> --- src/plugins/fakevim/fakevimplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index 6273cdd4615..afdec68f2b5 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -1005,10 +1005,10 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd) } else if (cmd.args == "ic" || cmd.args == "ignorecase") { // :set noic setActionChecked(Find::Constants::CASE_SENSITIVE, false); - *handled = false; // Let the handler see it as well. } else if (cmd.args == "noic" || cmd.args == "noignorecase") { // :set noic setActionChecked(Find::Constants::CASE_SENSITIVE, true); + } else { *handled = false; // Let the handler see it as well. } } else if (cmd.matches("n", "next")) { -- GitLab