Skip to content

Commit 1b22849

Browse files
committed
qt: Drop no longer used SplashScreen::finish() slot
1 parent 10811af commit 1b22849

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/qt/splashscreen.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,16 +161,6 @@ bool SplashScreen::eventFilter(QObject * obj, QEvent * ev) {
161161
return QObject::eventFilter(obj, ev);
162162
}
163163

164-
void SplashScreen::finish()
165-
{
166-
/* If the window is minimized, hide() will be ignored. */
167-
/* Make sure we de-minimize the splashscreen window before hiding */
168-
if (isMinimized())
169-
showNormal();
170-
hide();
171-
deleteLater(); // No more need for this
172-
}
173-
174164
static void InitMessage(SplashScreen *splash, const std::string &message)
175165
{
176166
bool invoked = QMetaObject::invokeMethod(splash, "showMessage",

src/qt/splashscreen.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ class SplashScreen : public QWidget
3737
void closeEvent(QCloseEvent *event) override;
3838

3939
public Q_SLOTS:
40-
/** Hide the splash screen window and schedule the splash screen object for deletion */
41-
void finish();
42-
4340
/** Show message and progress */
4441
void showMessage(const QString &message, int alignment, const QColor &color);
4542

0 commit comments

Comments
 (0)