diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:40:10 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:40:10 +0200 |
commit | 35a014ef4adbeba8119c31fbd6cb6748069ca91d (patch) | |
tree | d5253d18dda607aa8e8b12db719ccd202b3b6b34 /src/urlbar.cpp | |
parent | Fixing bookmarks layout (diff) | |
download | rekonq-35a014ef4adbeba8119c31fbd6cb6748069ca91d.tar.xz |
Lionel's idea about urlbar ready for queries in the home pages
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r-- | src/urlbar.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp index 54aa0ecf..ba50d068 100644 --- a/src/urlbar.cpp +++ b/src/urlbar.cpp @@ -133,6 +133,11 @@ void UrlBar::setupLineEdit() void UrlBar::setUrl(const QUrl& url) { + if(url.scheme() == "about") + { + setFocus(); + return; + } m_currentUrl = url; slotUpdateUrl(); } |