From 47b0c71f95d21ac22338b77e4f69cb3ca3e40eb0 Mon Sep 17 00:00:00 2001 From: zhuzihcu Date: Mon, 12 Jun 2023 17:36:36 +0800 Subject: [PATCH] update --- example/qml/component/CodeExpander.qml | 5 ----- src/imports/FluentUI/Controls/FluStatusView.qml | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/example/qml/component/CodeExpander.qml b/example/qml/component/CodeExpander.qml index 4114843e..79daf019 100644 --- a/example/qml/component/CodeExpander.qml +++ b/example/qml/component/CodeExpander.qml @@ -26,11 +26,6 @@ FluExpander{ color:FluTheme.dark ? Qt.rgba(50/255,50/255,50/255,1) : Qt.rgba(247/255,247/255,247/255,1) border.color: FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1) border.width: 1 - Behavior on color{ - ColorAnimation { - duration: 300 - } - } } } diff --git a/src/imports/FluentUI/Controls/FluStatusView.qml b/src/imports/FluentUI/Controls/FluStatusView.qml index fbd10f73..8eac9577 100644 --- a/src/imports/FluentUI/Controls/FluStatusView.qml +++ b/src/imports/FluentUI/Controls/FluStatusView.qml @@ -4,6 +4,7 @@ import QtQuick.Layouts import FluentUI Item{ + id:control enum StatusMode { Loading, Empty, @@ -80,7 +81,7 @@ Item{ Layout.alignment: Qt.AlignHCenter text:"重新加载" onClicked:{ - errorClicked.call() + control.errorClicked() } } }