summaryrefslogtreecommitdiff
path: root/src/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/bookmarkstreemodel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bookmarks/bookmarkstreemodel.cpp b/src/bookmarks/bookmarkstreemodel.cpp
index 796208a9..8d702fb9 100644
--- a/src/bookmarks/bookmarkstreemodel.cpp
+++ b/src/bookmarks/bookmarkstreemodel.cpp
@@ -37,6 +37,7 @@
// KDE Includes
#include <KBookmarkManager>
#include <KLocalizedString>
+#include <KIcon>
// Qt Includes
#include <QtCore/QMimeData>
@@ -68,14 +69,14 @@ QVariant BtmItem::data(int role) const
// NOTE
// this should be:
// return KIcon(m_kbm.icon());
- // but I cannot let it work :(
- // I really cannot understand how let this work properly...
+ // but I cannot let it work :(
+ // I really cannot understand how let this work properly...
if (m_kbm.isGroup() || m_kbm.isSeparator())
return KIcon(m_kbm.icon());
else
return Application::iconManager()->iconForUrl(KUrl(m_kbm.url()));
}
-
+
if (role == Qt::UserRole)
return m_kbm.url();