From 8bcc01920a4d129357925e2ada65c41c6bd7cd08 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Thu, 15 Nov 2018 11:53:22 +0100 Subject: [PATCH] PICARD-1415: Fix opening UNC paths on Windows Removes an older workaround that is no longer applicable. --- picard/ui/mainwindow.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/picard/ui/mainwindow.py b/picard/ui/mainwindow.py index 1f685b731..c1ecef0ad 100644 --- a/picard/ui/mainwindow.py +++ b/picard/ui/mainwindow.py @@ -889,12 +889,7 @@ class MainWindow(QtWidgets.QMainWindow, PreserveGeometry): return self.tagger.analyze(self.selected_objects) def _openUrl(self, url): - # Resolves a bug in Qt opening remote URLs - QTBUG-13359 - # See https://bugreports.qt.io/browse/QTBUG-13359 - if url.startswith("\\\\") or url.startswith("//"): - return QtCore.QUrl(QtCore.QDir.toNativeSeparators(url)) - else: - return QtCore.QUrl.fromLocalFile(url) + return QtCore.QUrl.fromLocalFile(url) def play_file(self): files = self.tagger.get_files_from_objects(self.selected_objects)