From 71c6d063aa2398e8b36d726ed303d5383cba18dd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Jun 2018 20:16:35 +0900 Subject: tdefilereplace: added default shortcut to open search/replace window (CTRL+F as used in many editors for Find). Signed-off-by: Michele Calgaro (cherry picked from commit c11d594b3db4b18ca49f2bc5a5b130c6c737776f) --- tdefilereplace/tdefilereplacepart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdefilereplace/tdefilereplacepart.cpp b/tdefilereplace/tdefilereplacepart.cpp index 26736fe6..64415158 100644 --- a/tdefilereplace/tdefilereplacepart.cpp +++ b/tdefilereplace/tdefilereplacepart.cpp @@ -575,7 +575,7 @@ void TDEFileReplacePart::initGUI() } } // File - (void)new TDEAction(i18n("Customize Search/Replace Session..."), "projectopen", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSetNewParameters()), actionCollection(), "new_project"); + (void)new TDEAction(i18n("Customize Search/Replace Session..."), "projectopen", TDEShortcut(CTRL + Key_F), TQT_TQOBJECT(this), TQT_SLOT(slotSetNewParameters()), actionCollection(), "new_project"); (void)new TDEAction(i18n("&Search"), "filesearch", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSearchingOperation()), actionCollection(), "search"); (void)new TDEAction(i18n("S&imulate"), "filesimulate", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSimulatingOperation()), actionCollection(), "file_simulate"); (void)new TDEAction(i18n("&Replace"), "filereplace", 0, TQT_TQOBJECT(this), TQT_SLOT(slotReplacingOperation()), actionCollection(), "replace"); -- cgit v1.2.1