Don't force a check for updates when the applet runs
ClosedPublic

Authored by antlarr on Apr 3 2019, 3:42 PM.

Details

Summary

The timer in main.qml has "triggeredOnStart: true" so it already
checks when the applet runs if the condition to check for updates
is true and if so, it calls PkUpdates.checkUpdates.

Previously, if a user configures the applet so that it only checks
for updates weekly, the applet ignores this configuration and
forces a check for updates every time the user logs in the system
(even more than once per day)

Diff Detail

Repository
R623 Plasma PackageKit Updater
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
antlarr requested review of this revision.Apr 3 2019, 3:42 PM
antlarr created this revision.
jgrulich accepted this revision.Apr 4 2019, 6:16 AM
This revision is now accepted and ready to land.Apr 4 2019, 6:16 AM
Closed by commit R623:4150bd6264d2: Don't force a check for updates when the applet runs (authored by Antonio Larrosa <antonio.larrosa@gmail.com>). · Explain WhyApr 4 2019, 7:40 AM
This revision was automatically updated to reflect the committed changes.