From ee4d1493e2a871b26201580c5a990a1df7a5e3f7 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 7 Jul 2017 17:09:55 -0400 Subject: Drop upgrade-cancel callback registration for a generic "resumeable" Instead of passing a StartShutdown reference all the way up from txdb, give ShowProgress a "resumeable" boolean, which is used to inform the user if the action will be resumed, but cancel is always allowed by just calling StartShutdown(). --- src/qt/splashscreen.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/qt/splashscreen.h') diff --git a/src/qt/splashscreen.h b/src/qt/splashscreen.h index a88ebb98a8..c6cfd503f7 100644 --- a/src/qt/splashscreen.h +++ b/src/qt/splashscreen.h @@ -36,8 +36,6 @@ public Q_SLOTS: /** Show message and progress */ void showMessage(const QString &message, int alignment, const QColor &color); - /** Sets the break action */ - void setBreakAction(const std::function &action); protected: bool eventFilter(QObject * obj, QEvent * ev); @@ -55,8 +53,6 @@ private: int curAlignment; QList connectedWallets; - - std::function breakAction; }; #endif // BITCOIN_QT_SPLASHSCREEN_H -- cgit v1.2.3