mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Changed the error report so it brings the user to Github directly
Making error reporting too easy results in too much context-less tracebacks which demand attention and, in the end, aren't of much use. Requiring the user to report errors on Github will reduce the number of reports, but hopefully make these reports have better context.
This commit is contained in:
@@ -63,6 +63,9 @@ except ImportError:
|
||||
try:
|
||||
from PyQt5.QtCore import QUrl, QStandardPaths
|
||||
from PyQt5.QtGui import QDesktopServices
|
||||
def _open_url(url):
|
||||
QDesktopServices.openUrl(QUrl(url))
|
||||
|
||||
def _open_path(path):
|
||||
url = QUrl.fromLocalFile(str(path))
|
||||
QDesktopServices.openUrl(url)
|
||||
|
||||
Reference in New Issue
Block a user