diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-02 16:06:45 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-02 16:29:39 -0700 |
commit | 42928b757f479c4d8b43f885c2b34cbc358d70b2 (patch) | |
tree | ad39b3222c719fe161d37623256ea82fcd41b0db /app | |
parent | 812255e56a2244caa450ccd5e2c6796291fa082f (diff) |
mediaplayer: qml: add hour digits to time2str functionhalibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.1halibut/8.0.0halibut/7.99.38.0.18.0.07.99.3
Bug-AGL: SPEC-2595
Change-Id: I6c8b9b9af0a1b900f447551ebde90b57413721d0
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/MediaPlayer.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index 089fcd0..85328a9 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -40,7 +40,7 @@ ApplicationWindow { property string status: "stopped" function time2str(value) { - return Qt.formatTime(new Date(value), 'mm:ss') + return Qt.formatTime(new Date(value), (value > 3600000) ? 'hh:mm:ss' : 'mm:ss') } } |