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 filelistview: use QUrl.fromLocalFile() to drag local files

Changeset e28a4b2e7210

Parent 5f67028005dd

by Steve Borho

Changes to one file · Browse files at e28a4b2e7210 Showing diff from parent 5f67028005dd Diff from another changeset...

 
297
298
299
300
301
302
 
303
304
305
 
297
298
299
 
 
 
300
301
302
303
@@ -297,9 +297,7 @@
  base, _ = visdiff.snapshot(ctx._repo, paths, ctx)   urls = []   for path in paths: - u = QUrl() - u.setPath('file://' + os.path.join(base, path)) - urls.append(u) + urls.append(QUrl.fromLocalFile(os.path.join(base, path)))   if urls:   d = QDrag(self)   m = QMimeData()