Fix opening of UNC paths on windows

This commit is contained in:
Kovid Goyal 2010-07-07 13:27:39 -06:00
parent a4e398d73c
commit 9922335c3b

View File

@ -592,6 +592,9 @@ def open_url(qurl):
def open_local_file(path):
if iswindows:
os.startfile(os.path.normpath(path))
else:
url = QUrl.fromLocalFile(path)
open_url(url)