aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-Debian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-Debian.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-Debian.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-Debian.cpp b/src-qt5/core/libLumina/LuminaOS-Debian.cpp
index 4acbe7d8..cb55e5ee 100644
--- a/src-qt5/core/libLumina/LuminaOS-Debian.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-Debian.cpp
@@ -158,14 +158,16 @@ 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("dbus-send --system --print-reply \
--dest=org.freedesktop.login1 /org/freedesktop/login1 \
org.freedesktop.login1.Manager.PowerOff boolean:true");
}
//System Restart
-void LOS::systemRestart(bool skipupdates){ //start reboot sequence
+void LOS::systemRestart(bool){ //start reboot sequence
+ //INPUT: skip updates (true/false)
QProcess::startDetached("dbus-send --system --print-reply \
--dest=org.freedesktop.login1 /org/freedesktop/login1 \
org.freedesktop.login1.Manager.Reboot boolean:true");
bgstack15