diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-28 12:08:45 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-28 12:08:45 +0200 |
commit | f4054a4adf480b4960f6925c3f5e65a919ff3f6e (patch) | |
tree | 3e00a232e9ee8ef93f6a7ee2b970cad6bdea0c3d /src/findbar.cpp | |
parent | Removed QDialog instances (diff) | |
parent | cosmetic (diff) | |
download | rekonq-f4054a4adf480b4960f6925c3f5e65a919ff3f6e.tar.xz |
Fixed mainwindow conflicts
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r-- | src/findbar.cpp | 11 |
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(); |