summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
authoradjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-05-28 10:06:17 +0000
committeradjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-05-28 10:06:17 +0000
commit796f0b4b7bc8201bad2e1bad78a82ccd6bf182ec (patch)
treed56b2d70aa5e5e8932c5ef6f2403b6263fffd030 /src/findbar.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
parentcosmetic (diff)
downloadrekonq-796f0b4b7bc8201bad2e1bad78a82ccd6bf182ec.tar.xz
Merge branch 'master' into local-svn
git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/network/rekonq@973966 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r--src/findbar.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp
index 0e312e04..283453a8 100644
--- a/src/findbar.cpp
+++ b/src/findbar.cpp
@@ -113,13 +113,14 @@ void FindBar::clear()
}
-void FindBar::showFindBar()
+void FindBar::show()
{
// show findbar if not visible
- if (!isVisible())
- {
- show();
- }
+ if (isVisible())
+ return;
+
+ QWidget::show();
+
// set focus to findbar if user select showFindBar shortcut
m_lineEdit->setFocus();
m_lineEdit->selectAll();