mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 16:53:52 +02:00
Merge bitcoin-core/gui#46: refactor: Fix deprecation warnings when building against Qt 5.15
705c1f0648qt, refactor: Fix 'buttonClicked is deprecated' warnings (Hennadii Stepanov)c2f4e5ea1dqt, refactor: Fix 'split is deprecated' warnings (Hennadii Stepanov)8e12d69961qt, refactor: Fix 'QFlags is deprecated' warnings (Hennadii Stepanov)fa5749c805qt, refactor: Fix 'pixmap is deprecated' warnings (Hennadii Stepanov)b02264cb5dqt, refactor: Fix 'QDateTime is deprecated' warnings (Hennadii Stepanov) Pull request description: [What's New in Qt 5.15](https://doc.qt.io/qt-5/whatsnew515.html#deprecated-modules): > To help preparing for the transition to Qt 6, numerous classes and member functions that will be removed from Qt 6.0 have been marked as deprecated in the Qt 5.15 release. Fixes #36 ACKs for top commit: jonasschnelli: utACK705c1f0648promag: Tested ACK705c1f0648on macos with Apple clang version 11.0.3 (clang-1103.0.32.62) and brew qt 5.15.1. Tree-SHA512: 29e00535b4583ceec0dfb29612e86ee29bdea13651b548c6d22167917a4a10464af49160a12b05151030699f690f437ebb9c4ae9f130f66a722415222165b44f
This commit is contained in:
@@ -263,7 +263,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();
|
||||
|
||||
Reference in New Issue
Block a user