qt, refactor: Fix 'QFlags is deprecated' warnings

This commit is contained in:
Hennadii Stepanov
2020-08-09 18:33:54 +03:00
parent fa5749c805
commit 8e12d69961
3 changed files with 4 additions and 4 deletions

View File

@@ -262,7 +262,7 @@ void BitcoinApplication::createWindow(const NetworkStyle *networkStyle)
void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
{
assert(!m_splash);
m_splash = new SplashScreen(nullptr, networkStyle);
m_splash = new SplashScreen(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 finish() happens.
m_splash->show();