summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-08-16 14:27:08 (UTC)
committer llornkcor <llornkcor>2002-08-16 14:27:08 (UTC)
commitd2b6865d77966af46e04d077e470c8162a91ecb0 (patch) (unidiff)
tree21888c44efb8fb866df87fd356a6dbd7a68c5847
parent10006a500ed73c7640572b05d9b403e5739bfa0c (diff)
downloadopie-d2b6865d77966af46e04d077e470c8162a91ecb0.zip
opie-d2b6865d77966af46e04d077e470c8162a91ecb0.tar.gz
opie-d2b6865d77966af46e04d077e470c8162a91ecb0.tar.bz2
stop stuttering.. back tracking
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/volumecontrol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/volumecontrol.cpp b/noncore/multimedia/opieplayer2/volumecontrol.cpp
index 219f63e..a795f3b 100644
--- a/noncore/multimedia/opieplayer2/volumecontrol.cpp
+++ b/noncore/multimedia/opieplayer2/volumecontrol.cpp
@@ -26,14 +26,14 @@ void VolumeControl::setVolume( int volumePerc ) {
26 if ( volumePerc < 0 ) { 26 if ( volumePerc < 0 ) {
27 volumePerc = 0; 27 volumePerc = 0;
28 } 28 }
29 29
30 m_volumePerc = volumePerc; 30 m_volumePerc = volumePerc;
31 cfg.writeEntry("VolumePercent", volumePerc ); 31 cfg.writeEntry("VolumePercent", volumePerc );
32// QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << false; 32 QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << false;
33 QCopEnvelope( "QPE/System", "setVolume(int,int)" ) << 0, volumePerc; 33// QCopEnvelope( "QPE/System", "setVolume(int,int)" ) << 0, volumePerc;
34} 34}
35 35
36 36
37void VolumeControl::incVol( int ammount ) { 37void VolumeControl::incVol( int ammount ) {
38 int oldVol = getVolume(); 38 int oldVol = getVolume();
39 setVolume( oldVol + ammount); 39 setVolume( oldVol + ammount);