Commit 88cd73a5 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez

pk: Set the Daemon locale at start

Just in case we have a different locale than the system's

CCBUG: 424862


(cherry picked from commit 06cccdf4)
parent 0db81d6e
......@@ -106,6 +106,8 @@ PackageKitBackend::PackageKitBackend(QObject* parent)
fetchUpdates();
acquireFetching(false);
}, this);
PackageKit::Daemon::global()->setHints(QStringLiteral("locale=%1").arg(qEnvironmentVariable("LANG")));
}
PackageKitBackend::~PackageKitBackend()
......
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