From bec8bd028518a4446affc16bcd5da6dfed4f0f25 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 27 Mar 2016 23:11:45 +0200 Subject: [PATCH] Mention QtWebEngine in segfault report dialog --- qutebrowser/misc/crashdialog.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 161ce9308..ed4e47519 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -508,11 +508,23 @@ class FatalCrashDialog(_CrashDialog): def _init_text(self): super()._init_text() text = ("qutebrowser was restarted after a fatal crash.
" - "
Note: Crash reports for fatal crashes sometimes don't " + "QTWEBENGINE_NOTE" + "
Crash reports for fatal crashes sometimes don't " "contain the information necessary to fix an issue. Please " "follow the steps in " "stacktrace.asciidoc to submit a stacktrace.
") + + if datetime.datetime.now() < datetime.datetime(2016, 4, 23): + note = ("
Fatal crashes like this are often caused by the " + "current QtWebKit backend.
I'm currently running a " + "crowdfunding for the new QtWebEngine backend, based on " + "Chromium: " + "igg.me/at/qutebrowser
") + text = text.replace('QTWEBENGINE_NOTE', note) + else: + text = text.replace('QTWEBENGINE_NOTE', '') + self._lbl.setText(text) def _init_checkboxes(self):