diff options
author | matgic78 <matgic78@gmail.com> | 2009-10-14 16:45:18 +0200 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2009-10-14 16:45:18 +0200 |
commit | 92a5daa103a54c2c4253d45cc882da1990bfbd03 (patch) | |
tree | 3f021abbc1843b9415b1d573870994da29ceed63 /src/urlbar.cpp | |
parent | HUGE COMMIT (diff) | |
download | rekonq-92a5daa103a54c2c4253d45cc882da1990bfbd03.tar.xz |
favorites management
-right click menu to set the preview url by selecting one of the 15 last history entries
-abitlity to remove previews and manage empty previews (show a toolbutton to set the url)
-contextmenu->add to favorites now adds preview in an empty space when there is one
-modified the loop used in HomePage::lastVisited because I encountered an infinite loop with it. (and because it is simpler this way)
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r-- | src/urlbar.cpp | 6 |
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(); } |