From 2f1dc679c0f1a890c265273477c4fcd25962e715 Mon Sep 17 00:00:00 2001 From: Mentalflow <312902918@qq.com> Date: Fri, 23 May 2025 00:32:32 +0800 Subject: [PATCH] RibbonSplashScreen: Fix for windows. --- lib_source/qml/Qt5/RibbonSplashScreen.qml | 2 +- lib_source/qml/Qt6/RibbonSplashScreen.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_source/qml/Qt5/RibbonSplashScreen.qml b/lib_source/qml/Qt5/RibbonSplashScreen.qml index a28934f..19c75a3 100644 --- a/lib_source/qml/Qt5/RibbonSplashScreen.qml +++ b/lib_source/qml/Qt5/RibbonSplashScreen.qml @@ -115,9 +115,9 @@ Window { if(Qt.platform.os === "osx") { windowAgent.setWindowAttribute("blur-effect", blurBehindWindow ? RibbonTheme.isDarkMode ? "dark" : "light" : "none") + PlatformSupport.showSystemTitleBtns(root, false) } root.flags |= Qt.WindowStaysOnTopHint - PlatformSupport.showSystemTitleBtns(root, false) root.visible = true windowAgent.centralize() raise() diff --git a/lib_source/qml/Qt6/RibbonSplashScreen.qml b/lib_source/qml/Qt6/RibbonSplashScreen.qml index cc800b8..6fb1584 100644 --- a/lib_source/qml/Qt6/RibbonSplashScreen.qml +++ b/lib_source/qml/Qt6/RibbonSplashScreen.qml @@ -115,9 +115,9 @@ Window { if(Qt.platform.os === "osx") { windowAgent.setWindowAttribute("blur-effect", blurBehindWindow ? RibbonTheme.isDarkMode ? "dark" : "light" : "none") + PlatformSupport.showSystemTitleBtns(root, false) } root.flags |= Qt.WindowStaysOnTopHint - PlatformSupport.showSystemTitleBtns(root, false) root.visible = true windowAgent.centralize() raise()