summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-28 12:08:45 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-28 12:08:45 +0200
commitf4054a4adf480b4960f6925c3f5e65a919ff3f6e (patch)
tree3e00a232e9ee8ef93f6a7ee2b970cad6bdea0c3d /src/findbar.cpp
parentRemoved QDialog instances (diff)
parentcosmetic (diff)
downloadrekonq-f4054a4adf480b4960f6925c3f5e65a919ff3f6e.tar.xz
Fixed mainwindow conflicts
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();