From 8e19bc87f8a83fde67e8492c0fbe7dd48752ca94 Mon Sep 17 00:00:00 2001 From: Benjamin Poulain Date: Sun, 22 Aug 2010 01:57:59 +0200 Subject: Change the Find action to show() instead of toggle() The find actions generally show a find bar, and is not a toggle action. A general pattern of use is to press "/" or Ctrl+F to show the find bar with the currently selected text, and press escape to hide the bar. --- src/findbar.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/findbar.cpp') diff --git a/src/findbar.cpp b/src/findbar.cpp index 18a4f168..bad3bf50 100644 --- a/src/findbar.cpp +++ b/src/findbar.cpp @@ -181,8 +181,3 @@ void FindBar::notifyMatch(bool match) m_lineEdit->setPalette(p); m_hideTimer->start(60000); } - -void FindBar::toggleVisibility() -{ - isVisible() ? hide() : show(); -} -- cgit v1.2.1