summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/xinecontrol.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp
index cf7dcb2..eba837e 100644
--- a/noncore/multimedia/opieplayer2/xinecontrol.cpp
+++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp
@@ -97,7 +97,11 @@ void XineControl::stop( bool isSet ) {
* @isSet
*/
void XineControl::pause( bool isSet) {
- libXine->pause();
+ if (isSet) {
+ libXine->pause();
+ } else {
+ libXine->play( m_fileName, 0, m_currentTime);
+ }
}