aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-kFreeBSD.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-kFreeBSD.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-kFreeBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp
index 62bbdb1c..5ec9751e 100644
--- a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp
@@ -95,7 +95,7 @@ int LOS::audioVolume(){ //Returns: audio volume as a percentage (0-100, with -1
}
//Set the current volume
-void LOS::setAudioVolume(int percent){
+void LOS::setAudioVolume(int){ //percent: 0-100
return;
}
@@ -137,12 +137,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 -h 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");
}
@@ -177,12 +179,12 @@ int LOS::batterySecondsLeft(){ //Returns: estimated number of seconds remaining
}
//File Checksums
-QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the input file
+QStringList LOS::Checksums(QStringList){ //Return: checksum of the input file
return QStringList();
}
//file system capacity
-QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as give by the df command
+QString LOS::FileSystemCapacity(QString) { //Return: percentage capacity as give by the df command
return QString();
}
@@ -202,4 +204,3 @@ QStringList LOS::DiskUsage(){ //Returns: List of current read/write stats for ea
return QStringList(); //not implemented yet
}
#endif
-#endif
bgstack15