Splash screen now stays on top of other windows

This commit is contained in:
Travis Abendshien
2024-05-13 12:13:06 -07:00
parent 851d1fb3b2
commit 02d6b22b25

View File

@@ -261,7 +261,7 @@ class QtDriver(QObject):
splash_pixmap = QPixmap(":/images/splash.png")
splash_pixmap.setDevicePixelRatio(self.main_window.devicePixelRatio())
self.splash = QSplashScreen(splash_pixmap)
self.splash = QSplashScreen(splash_pixmap, Qt.WindowStaysOnTopHint)
# self.splash.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground)
self.splash.show()