summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-06 01:49:54 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-06 01:49:54 +0100
commit2c11a95da6772a63d85905d4712a1a2d016a9e1e (patch)
tree919ec8f24580bc6ab56902b9bc92ac3e3dc31d14 /src/mainwindow.cpp
parentQPointers --> QWeakPointers (diff)
downloadrekonq-2c11a95da6772a63d85905d4712a1a2d016a9e1e.tar.xz
FIx focus on browsing (FIRST STEP) and on findbar hiding
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ffc9f508..9df24692 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -925,6 +925,7 @@ void MainWindow::keyPressEvent(QKeyEvent *event)
if (event->key() == Qt::Key_Escape)
{
m_findBar->hide();
+ currentTab()->setFocus(); // give focus to web pages
return;
}