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