summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2010-03-29 23:20:37 +0200
committermegabigbug <megabigbug@arrakis.(none)>2010-03-29 23:20:37 +0200
commitb1f39e13b1d2199b2f8a9bef3c213715a36dd146 (patch)
treedc82962c8d2325bcd6211fe14b2abfd72ab00c02 /src/urlbar
parentdetect if user type an url and order the results accordingly (diff)
downloadrekonq-b1f39e13b1d2199b2f8a9bef3c213715a36dd146.tar.xz
add title for bookmarks in the list
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlresolver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp
index 3f87b989..cb61ad95 100644
--- a/src/urlbar/urlresolver.cpp
+++ b/src/urlbar/urlresolver.cpp
@@ -195,9 +195,10 @@ UrlSearchList UrlResolver::bookmarksResolution()
QStringList bookmarkResults = bookmarkCompletion->substringCompletion(_urlString);
Q_FOREACH(const QString &s, bookmarkResults)
{
- UrlSearchItem it( s, QString(), QString("rating") );
+ UrlSearchItem it( s, Application::bookmarkProvider()->titleForBookmarkUrl(s), QString("rating") );
list << it;
}
+
return list;
}