Changeset 5f67028005dd…
Parent 658a0bdb8440…
by
Changes to one file · Browse files at 5f67028005dd Showing diff from parent 658a0bdb8440 Diff from another changeset...
@@ -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()
|
Loading...