summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/urlbar/listitem.cpp2
-rw-r--r--src/webtab/webtab.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index e1eac250..b3f48c41 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -146,7 +146,7 @@ KUrl ListItem::url()
QString ListItem::text()
{
- return m_url.url();
+ return m_url.prettyUrl();
}
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);
}