add pacman to update manager
This commit is contained in:
9
Main.qml
9
Main.qml
@@ -25,6 +25,14 @@ ApplicationWindow {
|
||||
|
||||
Component.onCompleted: ProcessManager.checkUpdates()
|
||||
|
||||
Connections {
|
||||
target: ProcessManager
|
||||
function onStatus_changed() {
|
||||
if (ProcessManager.status === ProcessManager.Status.Updating)
|
||||
root.consoleOpen = true
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: mainLayout
|
||||
anchors.fill: parent
|
||||
@@ -114,7 +122,6 @@ ApplicationWindow {
|
||||
id: passwordDialog
|
||||
onPasswordEntered: (password) => {
|
||||
ProcessManager.setPassword(password);
|
||||
consoleBar.status = root.consoleOpen;
|
||||
ProcessManager.update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user