diff --git a/src/gui/qt/mainwindowimpl.cpp b/src/gui/qt/mainwindowimpl.cpp index e9b7a500..3c063199 100755 --- a/src/gui/qt/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindowimpl.cpp @@ -1713,7 +1713,7 @@ void mainWindowImpl::paintStartSplash() { mySplash->setMaximumSize(400,250); mySplash->setMinimumSize(400,250); - mySplash->setWindowFlags(Qt::SplashScreen); +// mySplash->setWindowFlags(Qt::SplashScreen); mySplash->show(); } diff --git a/src/gui/qt/startsplash/startsplash.cpp b/src/gui/qt/startsplash/startsplash.cpp index 94e1afbc..218b2e27 100644 --- a/src/gui/qt/startsplash/startsplash.cpp +++ b/src/gui/qt/startsplash/startsplash.cpp @@ -20,7 +20,7 @@ #include "startsplash.h" StartSplash::StartSplash(mainWindowImpl *parent) - : QDialog(parent), myW(parent) + : QSplashScreen(parent), myW(parent) { QFontDatabase::addApplicationFont ("src/gui/qt/fonts/c059013l.pfb"); QFontDatabase::addApplicationFont ("src/gui/qt/fonts/andybold.ttf"); diff --git a/src/gui/qt/startsplash/startsplash.h b/src/gui/qt/startsplash/startsplash.h index d5570ab1..a4ea5305 100644 --- a/src/gui/qt/startsplash/startsplash.h +++ b/src/gui/qt/startsplash/startsplash.h @@ -19,7 +19,7 @@ #include #include -class StartSplash : public QDialog +class StartSplash : public QSplashScreen { Q_OBJECT public: