summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}