summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthieu Gicquel <matthieu@bureau.home>2009-10-10 14:10:57 +0200
committerMatthieu Gicquel <matthieu@bureau.home>2009-10-10 14:10:57 +0200
commit24d954e7fd4b3a601f1175bd8fdf6d2184b1d3bf (patch)
treefa2f614ffe09dcb5249e2debba67bd9b7c66363b /src
parentHUGE COMMIT (diff)
downloadrekonq-24d954e7fd4b3a601f1175bd8fdf6d2184b1d3bf.tar.xz
clear urlbar when HomePage is shown
Diffstat (limited to 'src')
-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();
}