From 2d212535b1cfcd6b7c82f7ee298b008aab64e922 Mon Sep 17 00:00:00 2001 From: Casper Jeukendrup <48658420+cbjeukendrup@users.noreply.github.com> Date: Fri, 29 Jul 2022 14:19:40 +0200 Subject: [PATCH] SplashScreen: fix transparent background (corners) on Windows --- src/appshell/view/internal/splashscreen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/appshell/view/internal/splashscreen.cpp b/src/appshell/view/internal/splashscreen.cpp index 915104ea17a3e..7121ec29d2459 100644 --- a/src/appshell/view/internal/splashscreen.cpp +++ b/src/appshell/view/internal/splashscreen.cpp @@ -46,6 +46,8 @@ SplashScreen::SplashScreen() : QSplashScreen(QPixmap(splashScreenSize)), m_backgroundRenderer(new QSvgRenderer(imagePath, this)) { + setAttribute(Qt::WA_TranslucentBackground); + // Can't make translatable, because translation system not yet initialized showMessage("Loading…"); }