mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
qt: Drop no longer used SplashScreen::finish()
slot
This commit is contained in:
parent
10811afff4
commit
1b228497fa
2 changed files with 0 additions and 13 deletions
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue