Commit 208d733a authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Set empty value for packagekit transaction flags

Otherwise the value would be Trusted Only, which will
forbid installing local packages
parent 6b1524e4
......@@ -56,7 +56,7 @@ QString getServiceMenusDir()
void packageKitInstall(const QString &fileName)
PackageKit::Transaction *transaction = PackageKit::Daemon::installFile(fileName);
PackageKit::Transaction *transaction = PackageKit::Daemon::installFile(fileName, PackageKit::Transaction::TransactionFlagNone);
const auto exitWithError = [=](PackageKit::Transaction::Error, const QString &details) {
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