[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-mediacenter/PMC/0.9] shells/newshell/package/contents/ui: Set media progres slider value to
From:       Sinny Kumari <ksinny () gmail ! com>
Date:       2012-04-16 19:34:34
Message-ID: 20120416193434.3FA05A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 1788fd1d40bcabd8ee4f9b9dc6de8008de993593 by Sinny Kumari.
Committed on 16/04/2012 at 21:26.
Pushed by sinnykumari into branch 'PMC/0.9'.

Set media progres slider value to default when playing of media gets completed

M  +1    -1    shells/newshell/package/contents/ui/mediacenter.qml

http://commits.kde.org/plasma-mediacenter/1788fd1d40bcabd8ee4f9b9dc6de8008de993593

diff --git a/shells/newshell/package/contents/ui/mediacenter.qml \
b/shells/newshell/package/contents/ui/mediacenter.qml index 4a94237..d2b63e1 100644
--- a/shells/newshell/package/contents/ui/mediacenter.qml
+++ b/shells/newshell/package/contents/ui/mediacenter.qml
@@ -69,7 +69,7 @@ Rectangle {
             }
         }
 
-        onMediaFinished: runtimeData.stopped = true
+        onMediaFinished: {runtimeData.currentTime= 0; runtimeData.stopped = true;}
         onMediaStarted: runtimeData.playing = true
     }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic