Commit ad93532f 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 8276f1e4
......@@ -56,7 +56,7 @@ QString getServiceMenusDir()
#ifdef HAVE_PACKAGEKIT
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) {
fail(details);
......
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