From 43cb21eb5f682e73b790ae1dc959cb20fb33569d Mon Sep 17 00:00:00 2001 From: Viktar Vauchkevich Date: Mon, 14 Jan 2013 21:27:58 +0100 Subject: Prevent uglyfying URL in suggest list REVIEW: 108412 REVIEWED-BY: adjam. (Thanks!) --- src/webtab/webtab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webtab') 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); } -- cgit v1.2.1