diff --git a/example/qml-Qt6/window/CrashWindow.qml b/example/qml-Qt6/window/CrashWindow.qml index 7a25f0de..e5d4443d 100644 --- a/example/qml-Qt6/window/CrashWindow.qml +++ b/example/qml-Qt6/window/CrashWindow.qml @@ -13,11 +13,13 @@ FluWindow { height: 400 fixSize: true showMinimize: false - showStayTop: false - stayTop:true property string crashFilePath + Component.onCompleted: { + window.stayTop = true + } + onInitArgument: (argument)=>{ crashFilePath = argument.crashFilePath diff --git a/example/qml/window/CrashWindow.qml b/example/qml/window/CrashWindow.qml index c7ea293a..254c8330 100644 --- a/example/qml/window/CrashWindow.qml +++ b/example/qml/window/CrashWindow.qml @@ -13,11 +13,13 @@ FluWindow { height: 400 fixSize: true showMinimize: false - showStayTop: false - stayTop:true property string crashFilePath + Component.onCompleted: { + window.stayTop = true + } + onInitArgument: (argument)=>{ crashFilePath = argument.crashFilePath