Commit 330af80e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

pk: remove unused method

It was only used for debugging an edge case.


(cherry picked from commit 18bbc381)
parent e52367fa
......@@ -69,7 +69,7 @@ void PKTransaction::trigger(PackageKit::Transaction::TransactionFlags flags)
//FIXME this state shouldn't exist
qWarning() << "Installing no packages found!";
for(auto app : m_apps) {
qCDebug(LIBDISCOVER_BACKEND_LOG) << "app" << app << app->state() << static_cast<PackageKitResource*>(app)->packages();
qCDebug(LIBDISCOVER_BACKEND_LOG) << "app" << app << app->state();
}
setStatus(Transaction::DoneWithErrorStatus);
......
......@@ -46,8 +46,6 @@ class PackageKitResource : public AbstractResource
void clearPackageIds() { m_packages.clear(); }
QMap<PackageKit::Transaction::Info, QStringList> packages() const { return m_packages; }
PackageKitBackend* backend() const;
static QString joinPackages(const QStringList& pkgids, const QString &_sep, const QString &shadowPackageName);
......
Supports Markdown
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