Try fixing polkit autostart

This commit is contained in:
Victor Tran 2020-06-17 20:56:58 +10:00
parent 8654d42b42
commit c3d5d3652c
No known key found for this signature in database
GPG key ID: FBA10B22D602BAC1

View file

@ -111,9 +111,9 @@ void SplashController::runAutostart() {
//Autostart the Polkit agent
QString pkPath = QStringLiteral(SYSTEM_LIBRARY_DIRECTORY).append("/td-polkitagent");
if (QFile::exists(pkPath)) {
QProcess::startDetached(pkPath, QStringList());
}
// if (QFile::exists(pkPath)) {
QProcess::startDetached(pkPath, QStringList());
// }
QStringList searchPaths = {
qEnvironmentVariable("XDG_CONFIG_HOME", QDir::homePath() + "/.config") + "/autostart",