aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-02-27 11:36:53 -0500
committerKen Moore <ken@ixsystems.com>2017-02-27 11:36:53 -0500
commit9ec94b09e6f80300ff793990c7caaa7585ed698a (patch)
tree0a37fde1bf970b1d3b478b49a07854f9df71df3c /src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
parentSilence a compile warning in LDesktopUtils (unused variable) (diff)
downloadlumina-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-NetBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-NetBSD.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp b/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
index 75feb345..b05185e9 100644
--- a/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
@@ -43,7 +43,7 @@ int LOS::ScreenBrightness(){
}
//Set screen brightness
-void LOS::setScreenBrightness(int percent){
+void LOS::setScreenBrightness(int){ //percent: 0-100
//not implemented yet
}
@@ -54,12 +54,12 @@ int LOS::audioVolume(){
}
//Set the current volume
-void LOS::setAudioVolume(int percent){
+void LOS::setAudioVolume(int){ //percent: 0-100
//not implemented yet
}
//Change the current volume a set amount (+ or -)
-void LOS::changeAudioVolume(int percentdiff){
+void LOS::changeAudioVolume(int){ //percent difference (+ or -)
//not implemented yet
}
@@ -91,12 +91,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 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