Commit 6469e828 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

pk: Don't keep a faulty packageid

This workaround doesn't apply anymore
parent 426d27e1
......@@ -184,9 +184,6 @@ void PKTransaction::cleanup(PackageKit::Transaction::Exit exit, uint runtime)
return;
}
if (failed && m_newPackageStates.isEmpty())
m_newPackageStates.insert(PackageKit::Transaction::InfoAvailable, kTransform<QStringList>(m_apps, [](AbstractResource* res) { return res->packageName(); }));
this->submitResolve();
if (failed)
setStatus(Transaction::DoneWithErrorStatus);
......
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