summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-28 11:38:08 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-28 11:38:08 +0200
commit0a8fa0648731b81e5b552a817d204b0a36348dba (patch)
tree249a7ea3f83db937532bc808644f8d648e912079 /src/findbar.cpp
parentFixing loadInNewTab slot (diff)
downloadrekonq-0a8fa0648731b81e5b552a817d204b0a36348dba.tar.xz
Using my own FindBar, for now..
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();