add base update in new struct code

This commit is contained in:
2026-11-16 12:51:38 +03:00
parent eaa638f654
commit 6ecb57bc35
17 changed files with 334 additions and 96 deletions

View File

@@ -12,12 +12,8 @@ Dialog {
parent: Overlay.overlay
closePolicy: Popup.CloseOnEscape
// "update" — обновление системы, "install" — установка одного пакета.
property string action: "update"
property string packageName: ""
// Диалог только сообщает введённый пароль: какое действие запускать
// и запоминать ли пароль на сеанс, решает Main.qml.
signal passwordEntered(string password)
background: Rectangle {
@@ -133,10 +129,6 @@ Dialog {
}
onOpened: passwordField.forceActiveFocus()
onAccepted: {
root.passwordEntered(passwordField.text)
}
onAccepted: root.passwordEntered(passwordField.text)
onClosed: passwordField.text = ""
}