┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2013-06-24 11:11:37 +0200
committerEmmanuel Pescosta <[email protected]>2013-06-24 11:11:37 +0200
commitaebe7a9010926c4eb2c24e4e5af39e5f3c6a386b (patch)
treee0da3af9f83f91c76fe4bf913cf2525f169c908b /src
parentb4dc66e27fd007bebeca3f68dbfad17483ca9241 (diff)
Use the target url of a item when creating the QMimeData in KFileItemModel::createMimeData.
BUG: 307336 FIXED-IN: 4.10.5 REVIEW: 111209
Diffstat (limited to 'src')
-rw-r--r--src/kitemviews/kfileitemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp
index 400d29849..787d36ae6 100644
--- a/src/kitemviews/kfileitemmodel.cpp
+++ b/src/kitemviews/kfileitemmodel.cpp
@@ -249,7 +249,7 @@ QMimeData* KFileItemModel::createMimeData(const QSet<int>& indexes) const
const int index = it.next();
const KFileItem item = fileItem(index);
if (!item.isNull()) {
- urls << item.url();
+ urls << item.targetUrl();
bool isLocal;
mostLocalUrls << item.mostLocalUrl(isLocal);