This commit is contained in:
朱子楚\zhuzi
2023-12-13 23:43:01 +08:00
parent 65905b139e
commit e5668869b9
3 changed files with 25 additions and 8 deletions

View File

@ -65,6 +65,9 @@ Window {
}
Component.onCompleted: {
useSystemAppBar = FluApp.useSystemAppBar
if(!useSystemAppBar){
loader_frameless.sourceComponent = com_frameless
}
lifecycle.onCompleted(window)
initArgument(argument)
if(window.autoMaximize){
@ -89,7 +92,7 @@ Window {
}
}
FluLoader{
sourceComponent: window.useSystemAppBar ? undefined : com_frameless
id:loader_frameless
}
QtObject{
id:d