From bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 18 Aug 2016 15:50:49 -0400 Subject: Add in pending update detection/skipping ability to the main logout window (not the start menu options yet). --- src-qt5/core/libLumina/LuminaOS-DragonFly.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/libLumina/LuminaOS-DragonFly.cpp') diff --git a/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp b/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp index c23cc5d7..ac25815f 100644 --- a/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp +++ b/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp @@ -228,13 +228,18 @@ bool LOS::systemPerformingUpdates(){ return false; //Not implemented yet } +//Return the details of any updates which are waiting to apply on shutdown +QString LOS::systemPendingUpdates(){ + return ""; +} + //System Shutdown -void LOS::systemShutdown(){ //start poweroff sequence +void LOS::systemShutdown(bool skipupdates){ //start poweroff sequence QProcess::startDetached("shutdown -p now"); } //System Restart -void LOS::systemRestart(){ //start reboot sequence +void LOS::systemRestart(bool skipupdates){ //start reboot sequence QProcess::startDetached("shutdown -r now"); } -- cgit