Commit 06cccdf4 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

pk: Set the Daemon locale at start

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

CCBUG: 424862
parent eedde3f7
......@@ -103,6 +103,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