aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/splashscreen.h')
-rw-r--r--src/qt/splashscreen.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/qt/splashscreen.h b/src/qt/splashscreen.h
index 1151d6c111..89c21e6457 100644
--- a/src/qt/splashscreen.h
+++ b/src/qt/splashscreen.h
@@ -7,7 +7,11 @@
#include <QSplashScreen>
-/** class for the splashscreen with information of the running client
+/** Class for the splashscreen with information of the running client.
+ *
+ * @note this is intentionally not a QSplashScreen. Bitcoin Core initialization
+ * can take a long time, and in that case a progress window that cannot be
+ * moved around and minimized has turned out to be frustrating to the user.
*/
class SplashScreen : public QWidget
{
@@ -18,7 +22,8 @@ public:
~SplashScreen();
protected:
- void paintEvent(QPaintEvent *event);
+ void paintEvent(QPaintEvent *event);
+ void closeEvent(QCloseEvent *event);
public slots:
/** Slot to call finish() method as it's not defined as slot */