Listen to the actionTriggered() signal instead of the valueChanged().
Delay the reaction to the signal, since it's emitted before having the
new value processed.
Sometimes, apparently, some packages aren't listed when all Application
instances are created. This would become a crash in some special
situations, especially the cases where the architecture of the package
is specified as a suffix to the package name (e.g. primus-libs-ia32).
This patch fixes that crash by not reporting these, but then we still
have the problem that these won't be listed as updates.
Make the ratings element size dependent of the ratings item size
instead of only the height. It had weird ramifications with systems
with different ApplicationList.delegate size.
KIO::NetAccess::download wouldn't let disable progress information, so we'd
get weird reports.
Also now we're not blocking while downloading the screenshots json files,
which makes it feel a bit less clunky.
At the moment we were taking advantage of a bug (or anomaly) in QApt where
packages market as ToKeep are not being listed as marked, so this would provide
us proper UI feedback but then when intending to work it wasn't working properly.
This patch instead considers a clean cache the one received on ::prepare()
instead. I was able to reproduce the bug, now I can't reproduce anymore.