diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -247,7 +247,7 @@ } void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle) { - SplashScreen *splash = new SplashScreen(m_node, nullptr, networkStyle); + SplashScreen *splash = new SplashScreen(m_node, 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. diff --git a/src/qt/splashscreen.h b/src/qt/splashscreen.h --- a/src/qt/splashscreen.h +++ b/src/qt/splashscreen.h @@ -28,7 +28,7 @@ Q_OBJECT public: - explicit SplashScreen(interfaces::Node &node, Qt::WindowFlags f, + explicit SplashScreen(interfaces::Node &node, const NetworkStyle *networkStyle); ~SplashScreen(); diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -27,9 +27,9 @@ #include -SplashScreen::SplashScreen(interfaces::Node &node, Qt::WindowFlags f, +SplashScreen::SplashScreen(interfaces::Node &node, const NetworkStyle *networkStyle) - : QWidget(nullptr, f), curAlignment(0), m_node(node) { + : QWidget(nullptr), curAlignment(0), m_node(node) { // set reference point, paddings int paddingRight = 50; int paddingTop = 50; diff --git a/src/qt/utilitydialog.h b/src/qt/utilitydialog.h --- a/src/qt/utilitydialog.h +++ b/src/qt/utilitydialog.h @@ -43,7 +43,7 @@ Q_OBJECT public: - explicit ShutdownWindow(QWidget *parent = nullptr, Qt::WindowFlags f = 0); + explicit ShutdownWindow(QWidget *parent = nullptr); static QWidget *showShutdownWindow(BitcoinGUI *window); protected: diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp --- a/src/qt/utilitydialog.cpp +++ b/src/qt/utilitydialog.cpp @@ -141,8 +141,7 @@ } /** "Shutdown" window */ -ShutdownWindow::ShutdownWindow(QWidget *parent, Qt::WindowFlags f) - : QWidget(parent, f) { +ShutdownWindow::ShutdownWindow(QWidget *parent) : QWidget(parent) { QVBoxLayout *layout = new QVBoxLayout(); layout->addWidget(new QLabel( tr("%1 is shutting down...").arg(PACKAGE_NAME) + "

" +