RibbonSplashScreen: Fix for windows.
This commit is contained in:
parent
5530b71d6c
commit
2f1dc679c0
|
@ -115,9 +115,9 @@ Window {
|
||||||
if(Qt.platform.os === "osx")
|
if(Qt.platform.os === "osx")
|
||||||
{
|
{
|
||||||
windowAgent.setWindowAttribute("blur-effect", blurBehindWindow ? RibbonTheme.isDarkMode ? "dark" : "light" : "none")
|
windowAgent.setWindowAttribute("blur-effect", blurBehindWindow ? RibbonTheme.isDarkMode ? "dark" : "light" : "none")
|
||||||
|
PlatformSupport.showSystemTitleBtns(root, false)
|
||||||
}
|
}
|
||||||
root.flags |= Qt.WindowStaysOnTopHint
|
root.flags |= Qt.WindowStaysOnTopHint
|
||||||
PlatformSupport.showSystemTitleBtns(root, false)
|
|
||||||
root.visible = true
|
root.visible = true
|
||||||
windowAgent.centralize()
|
windowAgent.centralize()
|
||||||
raise()
|
raise()
|
||||||
|
|
|
@ -115,9 +115,9 @@ Window {
|
||||||
if(Qt.platform.os === "osx")
|
if(Qt.platform.os === "osx")
|
||||||
{
|
{
|
||||||
windowAgent.setWindowAttribute("blur-effect", blurBehindWindow ? RibbonTheme.isDarkMode ? "dark" : "light" : "none")
|
windowAgent.setWindowAttribute("blur-effect", blurBehindWindow ? RibbonTheme.isDarkMode ? "dark" : "light" : "none")
|
||||||
|
PlatformSupport.showSystemTitleBtns(root, false)
|
||||||
}
|
}
|
||||||
root.flags |= Qt.WindowStaysOnTopHint
|
root.flags |= Qt.WindowStaysOnTopHint
|
||||||
PlatformSupport.showSystemTitleBtns(root, false)
|
|
||||||
root.visible = true
|
root.visible = true
|
||||||
windowAgent.centralize()
|
windowAgent.centralize()
|
||||||
raise()
|
raise()
|
||||||
|
|
Loading…
Reference in New Issue