From 4f7f21a86dea0cd8c12b9b748ea19d95aefa43b8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 16 Jan 2026 01:40:38 +1100 Subject: internal: no async loaders Fixes reload issue and all stuff not loading issues --- modules/lock/Center.qml | 1 - modules/lock/Fetch.qml | 1 - modules/lock/NotifDock.qml | 1 - modules/lock/NotifGroup.qml | 3 --- modules/lock/WeatherInfo.qml | 3 --- 5 files changed, 9 deletions(-) (limited to 'modules/lock') diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index 748504b..e37207a 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -58,7 +58,6 @@ ColumnLayout { Layout.leftMargin: Appearance.spacing.small Layout.alignment: Qt.AlignVCenter - asynchronous: true active: Config.services.useTwelveHourClock visible: active diff --git a/modules/lock/Fetch.qml b/modules/lock/Fetch.qml index 0e64343..ded5608 100644 --- a/modules/lock/Fetch.qml +++ b/modules/lock/Fetch.qml @@ -143,7 +143,6 @@ ColumnLayout { } component WrappedLoader: Loader { - asynchronous: true visible: active } diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml index 7551e68..01f7e4b 100644 --- a/modules/lock/NotifDock.qml +++ b/modules/lock/NotifDock.qml @@ -40,7 +40,6 @@ ColumnLayout { Loader { anchors.centerIn: parent - asynchronous: true active: opacity > 0 opacity: Notifs.list.length > 0 ? 0 : 1 diff --git a/modules/lock/NotifGroup.qml b/modules/lock/NotifGroup.qml index 2a08c26..7796090 100644 --- a/modules/lock/NotifGroup.qml +++ b/modules/lock/NotifGroup.qml @@ -87,7 +87,6 @@ StyledRect { Loader { anchors.centerIn: parent - asynchronous: true sourceComponent: root.image ? imageComp : root.appIcon ? appIconComp : materialIconComp } } @@ -95,7 +94,6 @@ StyledRect { Loader { anchors.right: parent.right anchors.bottom: parent.bottom - asynchronous: true active: root.appIcon && root.image sourceComponent: StyledRect { @@ -254,7 +252,6 @@ StyledRect { opacity: root.expanded ? 1 : 0 Layout.preferredHeight: root.expanded ? implicitHeight : 0 active: opacity > 0 - asynchronous: true sourceComponent: ColumnLayout { Repeater { diff --git a/modules/lock/WeatherInfo.qml b/modules/lock/WeatherInfo.qml index b2b4579..d6c25af 100644 --- a/modules/lock/WeatherInfo.qml +++ b/modules/lock/WeatherInfo.qml @@ -23,7 +23,6 @@ ColumnLayout { Layout.bottomMargin: -Appearance.padding.large Layout.alignment: Qt.AlignHCenter - asynchronous: true active: root.rootHeight > 610 visible: active @@ -73,7 +72,6 @@ ColumnLayout { Loader { Layout.rightMargin: Appearance.padding.smaller - asynchronous: true active: root.width > 400 visible: active @@ -113,7 +111,6 @@ ColumnLayout { Layout.bottomMargin: Appearance.padding.large * 2 Layout.fillWidth: true - asynchronous: true active: root.rootHeight > 820 visible: active -- cgit v1.2.3-freya