[Bug 1282085] [NEW] driverevent needlessly queries apt cache
Harald Sitter
sitter.harald at gmail.com
Wed Feb 19 13:40:58 UTC 2014
Public bug reported:
QApt::Package *pkg = m_aptBackend->package(key);
if (pkg) {
if (!pkg->isInstalled() && map[key]["recommended"].toBool()) {
^ if one were to promote the bool condition to be a condition for
actually checking the package one can avoid pointless calls to qapt
(pointless becuase everything qapt does behind ::package() will be for
nothing if the driver is not recommended.
** Affects: kubuntu-notification-helper (Ubuntu)
Importance: High
Assignee: Rohan Garg (rohangarg)
Status: Triaged
** Tags: kubuntu
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-notification-helper in Ubuntu.
https://bugs.launchpad.net/bugs/1282085
Title:
driverevent needlessly queries apt cache
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-notification-helper/+bug/1282085/+subscriptions
More information about the kubuntu-bugs
mailing list