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

pk: remove unused method

It was only used for debugging an edge case.
parent 38369503
...@@ -69,7 +69,7 @@ void PKTransaction::trigger(PackageKit::Transaction::TransactionFlags flags) ...@@ -69,7 +69,7 @@ void PKTransaction::trigger(PackageKit::Transaction::TransactionFlags flags)
//FIXME this state shouldn't exist //FIXME this state shouldn't exist
qWarning() << "Installing no packages found!"; qWarning() << "Installing no packages found!";
for(auto app : m_apps) { 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); setStatus(Transaction::DoneWithErrorStatus);
......
...@@ -46,8 +46,6 @@ class PackageKitResource : public AbstractResource ...@@ -46,8 +46,6 @@ class PackageKitResource : public AbstractResource
void clearPackageIds() { m_packages.clear(); } void clearPackageIds() { m_packages.clear(); }
QMap<PackageKit::Transaction::Info, QStringList> packages() const { return m_packages; }
PackageKitBackend* backend() const; PackageKitBackend* backend() const;
static QString joinPackages(const QStringList& pkgids, const QString &_sep, const QString &shadowPackageName); 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