diff options
| author | Emmanuel Pescosta <[email protected]> | 2013-06-24 11:11:37 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2013-06-24 11:11:37 +0200 |
| commit | aebe7a9010926c4eb2c24e4e5af39e5f3c6a386b (patch) | |
| tree | e0da3af9f83f91c76fe4bf913cf2525f169c908b /src | |
| parent | b4dc66e27fd007bebeca3f68dbfad17483ca9241 (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.cpp | 2 |
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); |
