Code Review
/
apps
/
mediaplayer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
812255e
)
mediaplayer: qml: add hour digits to time2str function
05/21805/1
7.99.3
8.0.0
8.0.1
halibut/7.99.3
halibut/8.0.0
halibut/8.0.1
halibut_7.99.3
halibut_8.0.0
halibut_8.0.1
author
Matt Ranostay
<matt.ranostay@konsulko.com>
Tue, 2 Jul 2019 23:06:45 +0000
(16:06 -0700)
committer
Matt Ranostay
<matt.ranostay@konsulko.com>
Tue, 2 Jul 2019 23:29:39 +0000
(16:29 -0700)
Bug-AGL: SPEC-2595
Change-Id: I6c8b9b9af0a1b900f447551ebde90b57413721d0
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
app/MediaPlayer.qml
patch
|
blob
|
history
diff --git
a/app/MediaPlayer.qml
b/app/MediaPlayer.qml
index
089fcd0
..
85328a9
100644
(file)
--- 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')
}
}