]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use the target url of a item when creating the QMimeData in KFileItemModel::createMim...
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Mon, 24 Jun 2013 09:11:37 +0000 (11:11 +0200)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Mon, 24 Jun 2013 09:11:37 +0000 (11:11 +0200)
BUG: 307336
FIXED-IN: 4.10.5
REVIEW: 111209

src/kitemviews/kfileitemmodel.cpp

index 400d29849e2518cc19f9e9f59098e28e5fe94d9e..787d36ae61e756e17c0b488cd06cef332156223b 100644 (file)
@@ -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);