Commit eb810468 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

notifier: Actually save LastUnattendedTrigger

Unlike QSettings, saving does not happen automatically.

(cherry picked from commit fd9a9b71)
parent 7b918b96
...@@ -77,6 +77,7 @@ void UnattendedUpdates::triggerUpdate(int timeoutId) ...@@ -77,6 +77,7 @@ void UnattendedUpdates::triggerUpdate(int timeoutId)
notifier->setBusy(false); notifier->setBusy(false);
process->deleteLater(); process->deleteLater();
notifier->settings()->setLastUnattendedTrigger(QDateTime::currentDateTimeUtc()); notifier->settings()->setLastUnattendedTrigger(QDateTime::currentDateTimeUtc());
}); });
notifier->setBusy(true); notifier->setBusy(true);
Supports Markdown
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