Commit dbdedcfa authored by Leszek Lesner's avatar Leszek Lesner Committed by Albert Astals Cid

Set kauth timeout to timeout for the update-initramfs -u process

We need to set the timeout for kauth to at least the same as that for
the update-initramfs -u process (which is 60000msec) otherwise DBUS
timesout too early.

Differential Revision: https://phabricator.kde.org/D5943
parent d8017f7b
......@@ -183,6 +183,7 @@ void KCMPlymouth::save()
KAuth::Action action(QStringLiteral("org.kde.kcontrol.kcmplymouth.save"));
action.setHelperId("org.kde.kcontrol.kcmplymouth");
action.setArguments(helperargs);
action.setTimeout(60000);
KAuth::ExecuteJob *job = action.execute();
bool rc = job->exec();
......
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