┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-11-27 00:27:59 +0100
committerPeter Penz <[email protected]>2011-11-27 00:29:25 +0100
commitd7f89808f7620e5b4cecc606e1fd3ac1df43c1b4 (patch)
treef108509599e9f063044fb4919dc3145499fbfde3 /src/kitemviews/kfileitemmodel.cpp
parent362817d1834f2ada3ea4552a25fa39bbbb540f8c (diff)
Apply icon effect for cut items
Fix issue that no icon effect got applied to icons that have been cut.
Diffstat (limited to 'src/kitemviews/kfileitemmodel.cpp')
-rw-r--r--src/kitemviews/kfileitemmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp
index 945aa82c8..d1e0fc6f1 100644
--- a/src/kitemviews/kfileitemmodel.cpp
+++ b/src/kitemviews/kfileitemmodel.cpp
@@ -946,6 +946,7 @@ QHash<QByteArray, QVariant> KFileItemModel::retrieveData(const KFileItem& item)
// and hence will be retrieved asynchronously by KFileItemModelRolesUpdater.
QHash<QByteArray, QVariant> data;
data.insert("iconPixmap", QPixmap());
+ data.insert("url", item.url());
const bool isDir = item.isDir();
if (m_requestRole[IsDirRole]) {