aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-Linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-Linux.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-Linux.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-Linux.cpp b/src-qt5/core/libLumina/LuminaOS-Linux.cpp
index 9d5980eb..678dee95 100644
--- a/src-qt5/core/libLumina/LuminaOS-Linux.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-Linux.cpp
@@ -150,12 +150,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 -h 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