aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-12-02 01:26:28 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-12-02 01:26:28 +0200
commit7d1b60ce931d5944576fc726b0ef6b9a10ef8793 (patch)
treebdfb286ea53da4a980459ca0ecfd6fbb84862e13 /src/qt/splashscreen.h
parented12fd83ca7999a896350197533de5e9202bc2fe (diff)
downloadbitcoin-7d1b60ce931d5944576fc726b0ef6b9a10ef8793.tar.xz
Cleanup SplashScreen class
Cleaning up after replacing the QSplashScreen base class with the QWidget class.
Diffstat (limited to 'src/qt/splashscreen.h')
-rw-r--r--src/qt/splashscreen.h7
1 files changed, 3 insertions, 4 deletions
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 <functional>
-#include <QSplashScreen>
+#include <QWidget>
#include <memory>
@@ -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);