aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-Gentoo.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-02-28 16:12:42 -0500
committerKen Moore <ken@ixsystems.com>2017-02-28 16:12:42 -0500
commita2f40d986bdb6a235f8619a7e3578ada1ca270ac (patch)
tree5128e2dd1508798e6eb179f841da65776d22196e /src-qt5/core/libLumina/LuminaOS-Gentoo.cpp
parentTrack down and fix a really weird Fluxbox bug: (diff)
parentTranslated using Weblate (lumina_CONFIG@lt (generated)) (diff)
downloadlumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.tar.gz
lumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.tar.bz2
lumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-Gentoo.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-Gentoo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-Gentoo.cpp b/src-qt5/core/libLumina/LuminaOS-Gentoo.cpp
index b92d1b02..40163aab 100644
--- a/src-qt5/core/libLumina/LuminaOS-Gentoo.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-Gentoo.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