diff options
author | lionelc <lionelc@lionelc.(none)> | 2010-03-30 11:37:25 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-02 22:01:06 +0200 |
commit | a2cb9efc54c78c47e41196f0121ca00255a4a7ab (patch) | |
tree | b091956d703ef49ae2e6e1a36cdb2e28fd732d7f /src/bookmarks/bookmarksmanager.cpp | |
parent | display bookmark and history item only if string typed is longer than 3 chars (diff) | |
download | rekonq-a2cb9efc54c78c47e41196f0121ca00255a4a7ab.tar.xz |
add title for history items
Diffstat (limited to 'src/bookmarks/bookmarksmanager.cpp')
-rw-r--r-- | src/bookmarks/bookmarksmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp index 9c3201e6..95adf387 100644 --- a/src/bookmarks/bookmarksmanager.cpp +++ b/src/bookmarks/bookmarksmanager.cpp @@ -330,6 +330,11 @@ QString BookmarkProvider::titleForBookmarkUrl(QString url) bookmark = bookGroup.next(bookmark); } + if (title.isEmpty()) + { + title = url; + } + return title; } |