Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index 7337c97..cc1a608 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp | |||
@@ -109,8 +109,7 @@ void XineControl::length() { | |||
109 | } | 109 | } |
110 | 110 | ||
111 | int XineControl::position() { | 111 | long XineControl::position() { |
112 | length(); | 112 | qDebug("<<<<<<<<<<<< xinecontrol setPostion>>>>>>>>>"); |
113 | qDebug("M_LENGTH :" + m_length); | 113 | m_position = (m_currentTime/m_length*100); |
114 | m_position = ( currentTime() /m_length*100); | ||
115 | mediaPlayerState->setPosition( m_position ); | 114 | mediaPlayerState->setPosition( m_position ); |
116 | long emitPos = (long)m_position; | 115 | long emitPos = (long)m_position; |
@@ -128,2 +127,3 @@ void XineControl::seekTo( long second ) { | |||
128 | // libXine-> | 127 | // libXine-> |
129 | } | 128 | } |
129 | |||