From 924ce5d12793360cb0656eb01d6b3a42d9679377 Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Tue, 2 Jan 2024 18:31:44 +0800 Subject: [PATCH] update --- src/Qt5/imports/FluentUI/Controls/FluWindow.qml | 4 ++-- src/Qt6/imports/FluentUI/Controls/FluWindow.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml index 9835af54..31f4b7b8 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml @@ -69,10 +69,10 @@ Window { Component.onCompleted: { _realHeight = height _realWidth = width - lifecycle.onCompleted(window) - initArgument(argument) moveWindowToDesktopCenter() fixWindowSize() + lifecycle.onCompleted(window) + initArgument(argument) useSystemAppBar = FluApp.useSystemAppBar if(!useSystemAppBar){ loader_frameless_helper.sourceComponent = com_frameless_helper diff --git a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml index 9b9bfe88..65ed022f 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml @@ -68,10 +68,10 @@ Window { Component.onCompleted: { _realHeight = height _realWidth = width - lifecycle.onCompleted(window) - initArgument(argument) moveWindowToDesktopCenter() fixWindowSize() + lifecycle.onCompleted(window) + initArgument(argument) useSystemAppBar = FluApp.useSystemAppBar if(!useSystemAppBar){ loader_frameless_helper.sourceComponent = com_frameless_helper