From 308972dd098b691c4e108ac08e1827ce9686e926 Mon Sep 17 00:00:00 2001 From: dengzhongyuan Date: Wed, 1 Apr 2026 09:46:42 +0800 Subject: [PATCH] fix(addonUi): simplify DetailAddonsItem structure by removing Loader component Removed the Loader component from DetailAddonsItem.qml, directly integrating DccRepeater for improved performance and clarity in the UI structure. bug: https://pms.uniontech.com/bug-view-355273.html --- src/dcc-fcitx5configtool/qml/DetailAddonsItem.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/dcc-fcitx5configtool/qml/DetailAddonsItem.qml b/src/dcc-fcitx5configtool/qml/DetailAddonsItem.qml index e4d3617a..d64414d1 100644 --- a/src/dcc-fcitx5configtool/qml/DetailAddonsItem.qml +++ b/src/dcc-fcitx5configtool/qml/DetailAddonsItem.qml @@ -21,10 +21,7 @@ DccObject { loading = false } - Loader { - active: !loading - asynchronous: true - sourceComponent: DccRepeater { + DccRepeater { model: globalAddons delegate: DccObject { property bool expanded: true @@ -92,5 +89,4 @@ DccObject { } } } - } }