summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-22 01:57:59 +0200
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-22 04:10:58 +0200
commit8e19bc87f8a83fde67e8492c0fbe7dd48752ca94 (patch)
tree165c1676f1584a40b4f4f57e908a1e479e53768a /src/findbar.cpp
parentMake the FindBar a bit more robust (diff)
downloadrekonq-8e19bc87f8a83fde67e8492c0fbe7dd48752ca94.tar.xz
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.
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r--src/findbar.cpp5
1 files changed, 0 insertions, 5 deletions
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();
-}