diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-09-02 12:35:20 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-09-02 12:35:20 +0200 |
commit | f7200c5dfe70d62fa69a35bebde95c1e9447f211 (patch) | |
tree | 36880962bba9bc18fc774dca9719ca14e4218ba3 /src | |
parent | A little bunch of fixes : (diff) | |
download | rekonq-f7200c5dfe70d62fa69a35bebde95c1e9447f211.tar.xz |
Use iconForUrl of IconManager
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/bookmarkowner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkowner.cpp b/src/bookmarks/bookmarkowner.cpp index 42583c70..435bc2a7 100644 --- a/src/bookmarks/bookmarkowner.cpp +++ b/src/bookmarks/bookmarkowner.cpp @@ -192,7 +192,8 @@ KBookmark BookmarkOwner::bookmarkCurrentPage(const KBookmark &bookmark) else parent = selected.parentGroup(); - newBk = parent.addBookmark(currentTitle().replace('&', "&&"), KUrl(currentUrl()), KMimeType::iconNameForUrl(currentUrl())); + newBk = parent.addBookmark(currentTitle().replace('&', "&&"), KUrl(currentUrl()), + Application::iconManager()->iconForUrl(currentUrl()).name()); parent.moveBookmark(newBk, selected); } else |