Diffstat (limited to 'noncore/multimedia/opieplayer2/volumecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/volumecontrol.cpp | 4 |
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 @@ -20,26 +20,26 @@ void VolumeControl::setVolume( int volumePerc ) { Config cfg("qpe"); cfg.setGroup("Volume"); if ( volumePerc > 100 ) { volumePerc = 100; } if ( volumePerc < 0 ) { volumePerc = 0; } m_volumePerc = volumePerc; cfg.writeEntry("VolumePercent", volumePerc ); -// QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << false; - QCopEnvelope( "QPE/System", "setVolume(int,int)" ) << 0, volumePerc; + QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << false; +// QCopEnvelope( "QPE/System", "setVolume(int,int)" ) << 0, volumePerc; } void VolumeControl::incVol( int ammount ) { int oldVol = getVolume(); setVolume( oldVol + ammount); } void VolumeControl::decVol( int ammount ) { int oldVol = getVolume(); setVolume( oldVol - ammount); } |