Commit 8f0fb642 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Show a message saying the system needs rebooting.

parent faaf6283
......@@ -198,6 +198,7 @@ void PackageKitUpdater::finished(PackageKit::Transaction::Exit exit, uint /*time
if (qEnvironmentVariableIsSet("PK_OFFLINE_UPDATE"))
#ifdef PKQT_1_0
PackageKit::Daemon::global()->offline()->trigger(PackageKit::Offline::ActionReboot);
Q_EMIT passiveMessage(i18n("Please restart the computer to finish the installation"));
#else
qWarning() << "PK_OFFLINE_UPDATE is set but discover was built against an old version of PackageKitQt that didn't support offline updates";
#endif
......
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