aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-02-27 11:36:53 -0500
committerKen Moore <ken@ixsystems.com>2017-02-27 11:36:53 -0500
commit9ec94b09e6f80300ff793990c7caaa7585ed698a (patch)
tree0a37fde1bf970b1d3b478b49a07854f9df71df3c /src-qt5/core/libLumina/LuminaOS-DragonFly.cpp
parentSilence a compile warning in LDesktopUtils (unused variable) (diff)
downloadlumina-9ec94b09e6f80300ff793990c7caaa7585ed698a.tar.gz
lumina-9ec94b09e6f80300ff793990c7caaa7585ed698a.tar.bz2
lumina-9ec94b09e6f80300ff793990c7caaa7585ed698a.zip
Silence some compile warnings in all the various OS templates.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-DragonFly.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-DragonFly.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp b/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp
index ac25815f..6cd72e03 100644
--- a/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-DragonFly.cpp
@@ -234,12 +234,14 @@ QString LOS::systemPendingUpdates(){
}
//System Shutdown
-void LOS::systemShutdown(bool skipupdates){ //start poweroff sequence
+void LOS::systemShutdown(bool){ //start poweroff sequence
+ //INPUT: skip updates (true/false)
QProcess::startDetached("shutdown -p now");
}
//System Restart
-void LOS::systemRestart(bool skipupdates){ //start reboot sequence
+void LOS::systemRestart(bool){ //start reboot sequence
+ //INPUT: skip updates (true/false)
QProcess::startDetached("shutdown -r now");
}
bgstack15