From 7d1b60ce931d5944576fc726b0ef6b9a10ef8793 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 2 Dec 2018 01:26:28 +0200 Subject: Cleanup SplashScreen class Cleaning up after replacing the QSplashScreen base class with the QWidget class. --- src/qt/splashscreen.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/qt/splashscreen.h') diff --git a/src/qt/splashscreen.h b/src/qt/splashscreen.h index c28b6e5660..f99dd0c701 100644 --- a/src/qt/splashscreen.h +++ b/src/qt/splashscreen.h @@ -5,8 +5,7 @@ #ifndef BITCOIN_QT_SPLASHSCREEN_H #define BITCOIN_QT_SPLASHSCREEN_H -#include -#include +#include #include @@ -37,8 +36,8 @@ protected: void closeEvent(QCloseEvent *event); public Q_SLOTS: - /** Slot to call finish() method as it's not defined as slot */ - void slotFinish(QWidget *mainWin); + /** Hide the splash screen window and schedule the splash screen object for deletion */ + void finish(); /** Show message and progress */ void showMessage(const QString &message, int alignment, const QColor &color); -- cgit v1.2.3