summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/audiowidget.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp6
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
@@ -252,5 +252,5 @@ void AudioWidget::sliderReleased() {
252 252
253void AudioWidget::setPosition( long i ) { 253void 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() );
256} 256}
@@ -291,5 +291,4 @@ void AudioWidget::setView( char view ) {
291 291
292static QString timeAsString( long length ) { 292static QString timeAsString( long length ) {
293 length /= 44100;
294 int minutes = length / 60; 293 int minutes = length / 60;
295 int seconds = length % 60; 294 int seconds = length % 60;
@@ -300,5 +299,6 @@ void AudioWidget::updateSlider( long i, long max ) {
300 299
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 ) {
304 return; 304 return;