summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-01-17 18:20:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-17 18:20:58 +0100
commit05d367876c876189f7efc087fd115931c2077a23 (patch)
treef633d1f2d69b6ce2e4fde46d4b6c903212476f2e
parentFix history ordering (diff)
downloadrekonq-05d367876c876189f7efc087fd115931c2077a23.tar.xz
fix url icon when dragging from bk toolbar.
-rw-r--r--src/bookmarks/bookmarkstoolbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bookmarks/bookmarkstoolbar.cpp b/src/bookmarks/bookmarkstoolbar.cpp
index 6c6218ef..b025aa61 100644
--- a/src/bookmarks/bookmarkstoolbar.cpp
+++ b/src/bookmarks/bookmarkstoolbar.cpp
@@ -587,10 +587,10 @@ void BookmarkToolBar::startDrag()
{
drag->setPixmap(KIcon(bookmark.icon()).pixmap(24, 24));
}
-// else
-// {
-// drag->setPixmap(rApp->iconManager()->iconForUrl(action->bookmark().url()).pixmap(24, 24));
-// }
+ else
+ {
+ drag->setPixmap(IconManager::self()->iconForUrl(action->bookmark().url()).pixmap(24, 24));
+ }
drag->start(Qt::MoveAction);
connect(drag, SIGNAL(destroyed()), this, SLOT(dragDestroyed()));