summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-11 09:54:39 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-11 09:54:39 +0200
commit04730b0ed35b415c8794076565525a8e142bc6d6 (patch)
tree7d5fb2c6bc551ca1c8f06d21e5be142e0c344ab0 /src/urlbar.cpp
parentMerge commit 'refs/merge-requests/1747' of git://gitorious.org/rekonq/mainlin... (diff)
parentKIcon("go-home") for homepage (diff)
downloadrekonq-04730b0ed35b415c8794076565525a8e142bc6d6.tar.xz
Merge commit 'refs/merge-requests/1750' of git://gitorious.org/rekonq/mainline into SundayIll3
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r--src/urlbar.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index 5776961b..5ad8314e 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -135,10 +135,12 @@ void UrlBar::setUrl(const QUrl& url)
{
if(url.scheme() == "rekonq")
{
+ m_currentUrl = "";
setFocus();
- return;
}
- m_currentUrl = url;
+ else
+ m_currentUrl = url;
+
slotUpdateUrl();
}