gui: use PACKAGE_NAME in exception message
Summary: This is a backport of Core PR18646
Test Plan:
diff --git a/src/qt/modaloverlay.cpp b/src/qt/modaloverlay.cpp index e5f32fe12..c5686cc0d 100644 --- a/src/qt/modaloverlay.cpp +++ b/src/qt/modaloverlay.cpp @@ -7,6 +7,7 @@ #include <chainparams.h> #include <qt/guiutil.h> +#include <util/check.h> #include <QPropertyAnimation> #include <QResizeEvent> @@ -197,6 +198,7 @@ void ModalOverlay::showHide(bool hide, bool userRequested) { } void ModalOverlay::closeClicked() { + CHECK_NONFATAL(false); showHide(true); userClosed = true; }
Running bitcoin-qt and clicking Hide in the modal causes the exception dialog to appear. Check that it includes "Bitcoin ABC".
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D8928