@@ -217,7 +217,7 @@ public Q_SLOTS:
217
217
void requestedInitialize ();
218
218
void requestedShutdown ();
219
219
void stopThread ();
220
- void splashFinished (QWidget *window );
220
+ void splashFinished ();
221
221
222
222
private:
223
223
QThread *coreThread;
@@ -357,9 +357,9 @@ void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
357
357
{
358
358
SplashScreen *splash = new SplashScreen (m_node, 0 , networkStyle);
359
359
// We don't hold a direct pointer to the splash screen after creation, but the splash
360
- // screen will take care of deleting itself when slotFinish happens.
360
+ // screen will take care of deleting itself when finish() happens.
361
361
splash->show ();
362
- connect (this , &BitcoinApplication::splashFinished, splash, &SplashScreen::slotFinish );
362
+ connect (this , &BitcoinApplication::splashFinished, splash, &SplashScreen::finish );
363
363
connect (this , &BitcoinApplication::requestedShutdown, splash, &QWidget::close);
364
364
}
365
365
@@ -500,7 +500,7 @@ void BitcoinApplication::initializeResult(bool success)
500
500
{
501
501
window->show ();
502
502
}
503
- Q_EMIT splashFinished (window );
503
+ Q_EMIT splashFinished ();
504
504
505
505
#ifdef ENABLE_WALLET
506
506
// Now that initialization/startup is done, process any command-line
@@ -514,7 +514,7 @@ void BitcoinApplication::initializeResult(bool success)
514
514
#endif
515
515
pollShutdownTimer->start (200 );
516
516
} else {
517
- Q_EMIT splashFinished (window ); // Make sure splash screen doesn't stick around during shutdown
517
+ Q_EMIT splashFinished (); // Make sure splash screen doesn't stick around during shutdown
518
518
quit (); // Exit first main loop invocation
519
519
}
520
520
}
0 commit comments