Comment 25 for bug 1540830

Git commit 7ded9bf1de57f7954be552a48aa9abdb3e4db400 by Aleix Pol, on behalf of Aleix Pol Gonzalez.
Committed on 02/02/2016 at 14:28.
Pushed by apol into branch 'Plasma/5.5'.

Make sure qapt-check doesn't get called repeatedly

Simplify the process that checks for system upgrades.
- Makes sure it's only run when needed.
- Doesn't recreate the QProcess instance.

Tested by soee as discussed in #kubuntu-devel.

REVIEW: 126923
Related: bug 347602

M +18 -12 libdiscover/backends/ApplicationBackend/ApplicationNotifier.cpp

http://commits.kde.org/discover/7ded9bf1de57f7954be552a48aa9abdb3e4db400