fix struct

This commit is contained in:
2026-11-14 19:10:33 +03:00
parent 17f047adaf
commit ce6da93363
3 changed files with 8 additions and 3 deletions

View File

@@ -38,8 +38,8 @@ ApplicationWindow {
id: title id: title
Layout.maximumWidth: Number.POSITIVE_INFINITY Layout.maximumWidth: Number.POSITIVE_INFINITY
Layout.alignment: Qt.AlignBottom Layout.alignment: Qt.AlignBottom
packageCount: UpdateManager.packageCount
isChecking: UpdateManager.isChecking isChecking: UpdateManager.isChecking
packageCount: UpdateManager.packageCount
} }
Buttons.SettingsBtn { Buttons.SettingsBtn {
@@ -63,6 +63,8 @@ ApplicationWindow {
Pages.UpdatePg { Pages.UpdatePg {
id: pgUpdate id: pgUpdate
isChecking: UpdateManager.isChecking
packageCount: UpdateManager.packageCount
} }
Pages.InstallPg { Pages.InstallPg {

View File

@@ -6,8 +6,8 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
spacing: 4 spacing: 4
property bool isChecking: true
property int packageCount: 0 property int packageCount: 0
property bool isChecking: true
RowLayout { RowLayout {
spacing: 5 spacing: 5

View File

@@ -6,6 +6,9 @@ import "../../components" as Components
Item { Item {
id: root id: root
property int packageCount: 0
property bool isChecking: true
ColumnLayout { ColumnLayout {
anchors.fill: parent anchors.fill: parent
spacing: 12 spacing: 12
@@ -15,7 +18,7 @@ Item {
Layout.fillHeight: true Layout.fillHeight: true
Components.PreLoader { Components.PreLoader {
visible: UpdateManager.isChecking visible: root.isChecking
anchors.fill: parent anchors.fill: parent
} }
} }