author | harlekin <harlekin> | 2002-08-05 23:58:16 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-05 23:58:16 (UTC) |
commit | d96244956f42782f987acc2b5efb32dc1f1dd70a (patch) (unidiff) | |
tree | 0e1652d36a7ee2b38568fb5686057864b03bf85a /noncore/multimedia/opieplayer2 | |
parent | 6577ed5401ef1374b57a58dd459e91c10899e097 (diff) | |
download | opie-d96244956f42782f987acc2b5efb32dc1f1dd70a.zip opie-d96244956f42782f987acc2b5efb32dc1f1dd70a.tar.gz opie-d96244956f42782f987acc2b5efb32dc1f1dd70a.tar.bz2 |
pause should be right now
Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 6 |
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 ) { | |||
97 | * @isSet | 97 | * @isSet |
98 | */ | 98 | */ |
99 | void XineControl::pause( bool isSet) { | 99 | void XineControl::pause( bool isSet) { |
100 | libXine->pause(); | 100 | if (isSet) { |
101 | libXine->pause(); | ||
102 | } else { | ||
103 | libXine->play( m_fileName, 0, m_currentTime); | ||
104 | } | ||
101 | } | 105 | } |
102 | 106 | ||
103 | 107 | ||