Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 303834a..23f4329 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -253,3 +253,3 @@ void AudioWidget::sliderReleased() { | |||
253 | void AudioWidget::setPosition( long i ) { | 253 | void AudioWidget::setPosition( long i ) { |
254 | qDebug("<<<<<<<<<<<<<<<<<<<<<<<<set position %d",i); | 254 | // qDebug("<<<<<<<<<<<<<<<<<<<<<<<<set position %d",i); |
255 | updateSlider( i, mediaPlayerState->length() ); | 255 | updateSlider( i, mediaPlayerState->length() ); |
@@ -292,3 +292,2 @@ void AudioWidget::setView( char view ) { | |||
292 | static QString timeAsString( long length ) { | 292 | static QString timeAsString( long length ) { |
293 | length /= 44100; | ||
294 | int minutes = length / 60; | 293 | int minutes = length / 60; |
@@ -301,3 +300,4 @@ void AudioWidget::updateSlider( long i, long max ) { | |||
301 | time.setText( timeAsString( i ) + " / " + timeAsString( max ) ); | 300 | time.setText( timeAsString( i ) + " / " + timeAsString( max ) ); |
302 | 301 | // qDebug( timeAsString( i ) + " / " + timeAsString( max ) ) ; | |
302 | |||
303 | if ( max == 0 ) { | 303 | if ( max == 0 ) { |