Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
b30d5d21
Commit
b30d5d21
authored
Jan 14, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
pk: allow un/selecting the (offline) system upgrade
parent
e8dc26c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp
View file @
b30d5d21
...
...
@@ -205,7 +205,7 @@ QSet<AbstractResource*> PackageKitUpdater::packagesForPackageId(const QSet<QStri
foreach
(
AbstractResource
*
res
,
m_allUpgradeable
)
{
if
(
auto
upgrade
=
dynamic_cast
<
SystemUpgrade
*>
(
res
))
{
if
(
packages
.
contains
(
upgrade
->
allPackageNames
()))
{
ret
+=
upgrade
->
resources
()
;
ret
+=
upgrade
;
}
continue
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment