Fix D-Bus

This commit is contained in:
Weixuan XIAO 2019-09-10 21:40:05 +02:00 committed by Nicolas Fella
parent 15bef3966d
commit 38d899f55b

View file

@ -85,7 +85,7 @@ int main(int argc, char** argv)
// Wait for dbus daemon env // Wait for dbus daemon env
QProcess getLaunchdDBusEnv; QProcess getLaunchdDBusEnv;
splash.showMessage(i18n("Waiting DBus") + QStringLiteral("\n"), Qt::AlignHCenter | Qt::AlignBottom, Qt::white); splash.showMessage(i18n("Waiting D-Bus") + QStringLiteral("\n"), Qt::AlignHCenter | Qt::AlignBottom, Qt::white);
int retry = 0; int retry = 0;
do { do {
getLaunchdDBusEnv.setProgram(QStringLiteral("launchctl")); getLaunchdDBusEnv.setProgram(QStringLiteral("launchctl"));