Work/kns
It might be worth saying that the previously installedEntries()
method only returns the changed entries that are installed:
Entry::List DownloadWidget::installedEntries()
{
Entry::List entries;
for (const KNSCore::EntryInternal &e : qAsConst(d->changedEntries)) {
if (e.status() == Entry::Installed) {
entries.append(EntryPrivate::fromInternal(&e));
}
}
return entries;
}
Consequently we can just check the status in our for loop and skip the entry if it was not installed
Edited by Alexander Lohnau