chore(cpn): Refactor component updates (#3218)

* Refactoring

* Fix current release id and process dlg events

* enh: Process updates dialog add select/deselect all components

* Change Expression to Pattern
This commit is contained in:
Neil Horne
2023-03-19 16:13:56 +10:00
committed by GitHub
parent fc1d6ba3a0
commit a1178f83a6
47 changed files with 3370 additions and 2813 deletions
+4 -3
View File
@@ -20,7 +20,7 @@
*/
#include "updates.h"
#include "updateinterface.h"
#include "updatefactories.h"
#include "updatesdialog.h"
#include "progressdialog.h"
#include "progresswidget.h"
@@ -94,8 +94,9 @@ void Updates::autoUpdates(bool interactive)
while (it.hasNext()) {
it.next();
factories->setRunUpdate(it.value());
factories->updateRelease(it.value());
UpdateInterface *iface = factories->instance(it.value());
iface->setRunUpdate();
iface->releaseUpdate();
}
runUpdate();