diff --git a/src/ui/form/dialog/splashscreen.cpp b/src/ui/form/dialog/splashscreen.cpp index 2f72b17b..bdbf2be2 100644 --- a/src/ui/form/dialog/splashscreen.cpp +++ b/src/ui/form/dialog/splashscreen.cpp @@ -33,6 +33,7 @@ void startOpacityAnimation( SplashScreen::SplashScreen() : QSplashScreen() { this->setAttribute(Qt::WA_DeleteOnClose); + this->setAttribute(Qt::WA_ShowWithoutActivating); setupUi(); } @@ -52,8 +53,7 @@ void SplashScreen::closeDelayed() void SplashScreen::closeFading() { - startOpacityAnimation( - this, [&] { close(); }, /*backward=*/true); + startOpacityAnimation(this, [&] { close(); }, /*backward=*/true); } void SplashScreen::setupUi()