aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-Debian.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-06-20 10:11:59 -0400
committerKen Moore <ken@pcbsd.org>2015-06-20 10:11:59 -0400
commit07b5f339eb797fa31111fce1386940cacaef3ab2 (patch)
tree702af7fd59a0d4afbe5996d6634316f80c2a29eb /libLumina/LuminaOS-Debian.cpp
parentFix a bug in the writeFile() function when passed an empty list of text. This... (diff)
parentMerge pull request #130 from pcbsd/linux (diff)
downloadlumina-07b5f339eb797fa31111fce1386940cacaef3ab2.tar.gz
lumina-07b5f339eb797fa31111fce1386940cacaef3ab2.tar.bz2
lumina-07b5f339eb797fa31111fce1386940cacaef3ab2.zip
Merge branch 'master' of github.com:pcbsd/lumina
Diffstat (limited to 'libLumina/LuminaOS-Debian.cpp')
-rw-r--r--libLumina/LuminaOS-Debian.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-Debian.cpp b/libLumina/LuminaOS-Debian.cpp
index df91819e..12d8f11e 100644
--- a/libLumina/LuminaOS-Debian.cpp
+++ b/libLumina/LuminaOS-Debian.cpp
@@ -106,7 +106,8 @@ QString info = LUtils::getCmdOutput("amixer get Master").join("").simplified();;
void LOS::setAudioVolume(int percent){
if(percent<0){percent=0;}
else if(percent>100){percent=100;}
- QString info = "amixer -c 0 sset Master,0 " + QString::number(percent) + "%";
+ // QString info = "amixer -c 0 sset Master,0 " + QString::number(percent) + "%";
+ QString info = "amixer set Master " + QString::number(percent) + "%";
if(!info.isEmpty()){
//Run Command
LUtils::runCmd(info);
bgstack15