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

Changeset 5f67028005dd

Parent 658a0bdb8440

by Steve Borho

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

 
528
529
530
531
532
533
 
534
535
536
 
528
529
530
 
 
 
531
532
533
534
@@ -528,9 +528,7 @@
  else:   base = self.repo.root   for p 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()