diff options
author | Ken Moore <ken@ixsystems.com> | 2017-02-28 16:12:42 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-02-28 16:12:42 -0500 |
commit | a2f40d986bdb6a235f8619a7e3578ada1ca270ac (patch) | |
tree | 5128e2dd1508798e6eb179f841da65776d22196e /src-qt5/core/libLumina/LuminaOS-Debian.cpp | |
parent | Track down and fix a really weird Fluxbox bug: (diff) | |
parent | Translated using Weblate (lumina_CONFIG@lt (generated)) (diff) | |
download | lumina-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-Debian.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaOS-Debian.cpp | 6 |
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"); |