summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-09-02 12:35:20 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-09-02 12:35:20 +0200
commitf7200c5dfe70d62fa69a35bebde95c1e9447f211 (patch)
tree36880962bba9bc18fc774dca9719ca14e4218ba3 /src
parentA little bunch of fixes : (diff)
downloadrekonq-f7200c5dfe70d62fa69a35bebde95c1e9447f211.tar.xz
Use iconForUrl of IconManager
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/bookmarkowner.cpp3
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