Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index c46994a..f6289d7 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp | |||
@@ -177,13 +177,13 @@ void XineControl::length() { | |||
177 | */ | 177 | */ |
178 | long XineControl::position() { | 178 | long XineControl::position() { |
179 | m_position = ( currentTime() ); | 179 | m_position = ( currentTime() ); |
180 | mediaPlayerState->updatePosition( m_position ); | 180 | mediaPlayerState->updatePosition( m_position ); |
181 | long emitPos = (long)m_position; | 181 | long emitPos = (long)m_position; |
182 | emit positionChanged( emitPos ); | 182 | emit positionChanged( emitPos ); |
183 | if( mediaPlayerState->isPlaying ) { | 183 | if( mediaPlayerState->playing() ) { |
184 | // needs to be stopped the media is stopped | 184 | // needs to be stopped the media is stopped |
185 | QTimer::singleShot( 1000, this, SLOT( position() ) ); | 185 | QTimer::singleShot( 1000, this, SLOT( position() ) ); |
186 | } | 186 | } |
187 | // qDebug("POSITION : %d", m_position); | 187 | // qDebug("POSITION : %d", m_position); |
188 | return m_position; | 188 | return m_position; |
189 | } | 189 | } |