aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-08-09 18:33:54 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-08-26 20:22:42 +0300
commit8e12d6996116e786e928077b22d9f47cee27319e (patch)
tree6653de2e1e045e407619558923570802e2546f47 /src/qt/splashscreen.cpp
parentfa5749c805878304c107bcae0ae5ffa401dc7c4d (diff)
downloadbitcoin-8e12d6996116e786e928077b22d9f47cee27319e.tar.xz
qt, refactor: Fix 'QFlags is deprecated' warnings
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r--src/qt/splashscreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index bd63d6e7fb..b7a3b602cf 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -24,8 +24,8 @@
#include <QScreen>
-SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle) :
- QWidget(nullptr, f), curAlignment(0)
+SplashScreen::SplashScreen(const NetworkStyle* networkStyle)
+ : QWidget(), curAlignment(0)
{
// set reference point, paddings
int paddingRight = 50;