mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-04 13:05:31 -04:00
...
This commit is contained in:
@@ -1467,6 +1467,7 @@ def open_url(qurl):
|
||||
# this happens a lot with Qt 6.5.3 on some Linux distros
|
||||
print('QDesktopServices.openUrl() failed for url:', qurl, file=sys.stderr)
|
||||
if islinux:
|
||||
import subprocess
|
||||
if qurl.isLocalFile():
|
||||
cmd = ['xdg-open', qurl.toLocalFile()]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user