diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-14 11:49:31 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-14 11:49:31 +0100 |
commit | 3064ebbde6453b900572806eaf8d78c207293100 (patch) | |
tree | 0817dcd58d7a86783b6a6590880ce4cba8c88bc3 /src | |
parent | Krazy issues (1st branch) (diff) | |
download | rekonq-3064ebbde6453b900572806eaf8d78c207293100.tar.xz |
this fix urlbar behaviour, removing focus from there and enabling
loading animation. Temporary fix??
Diffstat (limited to 'src')
-rw-r--r-- | src/urlbar/urlbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 1b6ebca8..290ac034 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -37,6 +37,7 @@ #include "mainwindow.h" #include "webview.h" #include "historymanager.h" +#include "webtab.h" // KDE Includes #include <KDebug> @@ -204,6 +205,9 @@ void UrlBar::activated(const QString& urlString) if (urlString.isEmpty()) return; + // this fix urlbar behaviour, removing focus from there and enabling + // loading animation. Temporary fix?? + Application::instance()->mainWindow()->currentTab()->setFocus(); setUrl(urlString); emit activated(m_currentUrl); } |