Re-enable crash reports for QtWebEngine

This commit is contained in:
Florian Bruhin 2016-07-17 14:27:01 +02:00
parent f597b052c6
commit d867a789c2

View File

@ -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):