Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.1, 2.0.2, and 2.0.3

stable resolve: use QUrl.fromLocalFile() to drag local files

Changeset 658a0bdb8440

Parent 55cc51ed538c

by Steve Borho

Changes to one file · Browse files at 658a0bdb8440 Showing diff from parent 55cc51ed538c Diff from another changeset...

 
331
332
333
334
335
336
 
337
338
339
 
331
332
333
 
 
 
334
335
336
337
@@ -331,9 +331,7 @@
  urls = []   for index in self.selectionModel().selectedRows():   root, path = self.model().getPathForIndex(index) - u = QUrl() - u.setPath('file://' + os.path.join(root, path)) - urls.append(u) + urls.append(QUrl.fromLocalFile(os.path.join(root, path)))   if urls:   d = QDrag(self)   m = QMimeData()