diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 0b745d727..f2cd8c3b1 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -477,6 +477,20 @@ class ExceptionCrashDialog(_CrashDialog): else: self.reject() + @pyqtSlot() + def on_report_clicked(self): + """Ignore reports on QtWebEngine branch. + + FIXME: Remove this when we're done! + """ + title = "Crash reports disabled with QtWebEngine!" + text = ("You're using the qtwebengine branch which is not intended " + "for general usage yet. Crash reports on that branch have " + "been disabled.") + box = msgbox.msgbox(parent=self, title=title, text=text, + icon=QMessageBox.Critical) + box.finished.connect(self.finish) + class FatalCrashDialog(_CrashDialog):