summaryrefslogtreecommitdiff
path: root/src/webtab/webtab.cpp
diff options
context:
space:
mode:
authorViktar Vauchkevich <victorenator@gmail.com>2013-01-14 21:27:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-14 21:27:58 +0100
commit43cb21eb5f682e73b790ae1dc959cb20fb33569d (patch)
tree57ef436c2f6f52d2d2f7a80ff378ea79af71ecfc /src/webtab/webtab.cpp
parentPrevent uglifying URL on ESC (diff)
downloadrekonq-43cb21eb5f682e73b790ae1dc959cb20fb33569d.tar.xz
Prevent uglyfying URL in suggest list
REVIEW: 108412 REVIEWED-BY: adjam. (Thanks!)
Diffstat (limited to 'src/webtab/webtab.cpp')
-rw-r--r--src/webtab/webtab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp
index f1928880..61a35a2e 100644
--- a/src/webtab/webtab.cpp
+++ b/src/webtab/webtab.cpp
@@ -322,7 +322,7 @@ void WebTab::loadFinished()
if (page()->settings()->testAttribute(QWebSettings::PrivateBrowsingEnabled))
return;
- QString pageTitle = (page() && page()->isOnRekonqPage()) ? url().url() : view()->title();
+ QString pageTitle = (page() && page()->isOnRekonqPage()) ? url().prettyUrl() : view()->title();
HistoryManager::self()->addHistoryEntry(url(), pageTitle);
}