Improve messages and update options dialog checkbox after Forget

This commit is contained in:
elecpower
2022-09-06 09:29:41 +10:00
committed by Peter Feerick
parent 7ee796d56a
commit bb4ed8023d
4 changed files with 16 additions and 6 deletions
+3 -1
View File
@@ -1574,12 +1574,14 @@ bool UpdateFactories::manualUpdate(ProgressWidget * progress)
return ok;
}
const bool UpdateFactories::updatesAvailable()
const bool UpdateFactories::updatesAvailable(QStringList & names)
{
bool ret = false;
names.clear();
foreach (UpdateFactoryInterface * factory, registeredUpdateFactories) {
if (factory->instance()->isUpdateAvailable()) {
names.append(factory->name());
ret = true;
}
}