aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-10-27 12:54:34 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-10-27 12:58:48 +0100
commit1b228497fa729c512a15bdfa80f61a610abfe8a5 (patch)
treeb606460c8d567f84367f0bf22c17690dd2fb49b7 /src
parent10811afff40efed1fda7eecab89884eaadd7146c (diff)
downloadbitcoin-1b228497fa729c512a15bdfa80f61a610abfe8a5.tar.xz
qt: Drop no longer used `SplashScreen::finish()` slot
Diffstat (limited to 'src')
-rw-r--r--src/qt/splashscreen.cpp10
-rw-r--r--src/qt/splashscreen.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index bf04a6dd5f..e1692aeec7 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -161,16 +161,6 @@ bool SplashScreen::eventFilter(QObject * obj, QEvent * ev) {
return QObject::eventFilter(obj, ev);
}
-void SplashScreen::finish()
-{
- /* If the window is minimized, hide() will be ignored. */
- /* Make sure we de-minimize the splashscreen window before hiding */
- if (isMinimized())
- showNormal();
- hide();
- deleteLater(); // No more need for this
-}
-
static void InitMessage(SplashScreen *splash, const std::string &message)
{
bool invoked = QMetaObject::invokeMethod(splash, "showMessage",
diff --git a/src/qt/splashscreen.h b/src/qt/splashscreen.h
index c14fc521a7..0f7fb6bef8 100644
--- a/src/qt/splashscreen.h
+++ b/src/qt/splashscreen.h
@@ -37,9 +37,6 @@ protected:
void closeEvent(QCloseEvent *event) override;
public Q_SLOTS:
- /** 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);