summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:40:10 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:40:10 +0200
commit35a014ef4adbeba8119c31fbd6cb6748069ca91d (patch)
treed5253d18dda607aa8e8b12db719ccd202b3b6b34 /src/urlbar.cpp
parentFixing bookmarks layout (diff)
downloadrekonq-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.cpp5
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();
}