qt: Drop no longer used SplashScreen::finish() slot

This commit is contained in:
Hennadii Stepanov 2022-10-27 12:54:34 +01:00
parent 10811afff4
commit 1b228497fa
No known key found for this signature in database
GPG key ID: 410108112E7EA81F
2 changed files with 0 additions and 13 deletions

View file

@ -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",

View file

@ -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);