From 9f130c6b27efa5a815774489bfe0e0e6a4d13f3c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 28 Jun 2016 15:44:08 +0200 Subject: [PATCH] Disable crash reports --- qutebrowser/misc/crashdialog.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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):