Remove direct bitcoin calls from qt/splashscreen.cpp

This commit is contained in:
Russell Yanofsky
2017-04-17 15:10:47 -04:00
committed by John Newbery
parent c2f672fb19
commit 5fba3af21e
10 changed files with 139 additions and 29 deletions

View File

@@ -375,7 +375,7 @@ void BitcoinApplication::createWindow(const NetworkStyle *networkStyle)
void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
{
SplashScreen *splash = new SplashScreen(0, networkStyle);
SplashScreen *splash = new SplashScreen(m_node, 0, networkStyle);
// We don't hold a direct pointer to the splash screen after creation, but the splash
// screen will take care of deleting itself when slotFinish happens.
splash->show();