Re-enable crash reports for QtWebEngine
This commit is contained in:
parent
f597b052c6
commit
d867a789c2
@ -477,29 +477,6 @@ class ExceptionCrashDialog(_CrashDialog):
|
||||
else:
|
||||
self.reject()
|
||||
|
||||
@pyqtSlot()
|
||||
def on_report_clicked(self):
|
||||
"""Ignore reports with the QtWebEngine backend.
|
||||
|
||||
FIXME:qtwebengine Remove this when QtWebEngine is working better!
|
||||
"""
|
||||
try:
|
||||
backend = objreg.get('args').backend
|
||||
except Exception:
|
||||
backend = 'webkit'
|
||||
|
||||
if backend == 'webkit':
|
||||
super().on_report_clicked()
|
||||
return
|
||||
|
||||
title = "Crash reports disabled with QtWebEngine!"
|
||||
text = ("You're using the QtWebEngine backend which is not intended "
|
||||
"for general usage yet. Crash reports with that backend have "
|
||||
"been disabled.")
|
||||
box = msgbox.msgbox(parent=self, title=title, text=text,
|
||||
icon=QMessageBox.Critical)
|
||||
box.finished.connect(self.finish)
|
||||
|
||||
|
||||
class FatalCrashDialog(_CrashDialog):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user