diff options
author | Ken Moore <ken@ixsystems.com> | 2017-02-27 11:36:53 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-02-27 11:36:53 -0500 |
commit | 9ec94b09e6f80300ff793990c7caaa7585ed698a (patch) | |
tree | 0a37fde1bf970b1d3b478b49a07854f9df71df3c /src-qt5/core/libLumina/LuminaOS-Debian.cpp | |
parent | Silence a compile warning in LDesktopUtils (unused variable) (diff) | |
download | lumina-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-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"); |