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