Commit c6cbdee5 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

const should be const

parent 08f89fc3
...@@ -249,13 +249,13 @@ qreal PackageKitUpdater::progress() const ...@@ -249,13 +249,13 @@ qreal PackageKitUpdater::progress() const
void PackageKitUpdater::removeResources(const QList<AbstractResource*>& apps) void PackageKitUpdater::removeResources(const QList<AbstractResource*>& apps)
{ {
QSet<QString> pkgs = involvedPackages(kToSet(apps)); const QSet<QString> pkgs = involvedPackages(kToSet(apps));
m_toUpgrade.subtract(packagesForPackageId(pkgs)); m_toUpgrade.subtract(packagesForPackageId(pkgs));
} }
void PackageKitUpdater::addResources(const QList<AbstractResource*>& apps) void PackageKitUpdater::addResources(const QList<AbstractResource*>& apps)
{ {
QSet<QString> pkgs = involvedPackages(kToSet(apps)); const QSet<QString> pkgs = involvedPackages(kToSet(apps));
m_toUpgrade.unite(packagesForPackageId(pkgs)); m_toUpgrade.unite(packagesForPackageId(pkgs));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment