Organize.
This commit is contained in:
parent
39b66d951c
commit
6a8d20f7ab
|
@ -128,7 +128,14 @@ Window {
|
|||
MpvObject {
|
||||
id: renderer
|
||||
anchors.fill: parent
|
||||
Component.onCompleted: {
|
||||
|
||||
FontLoader {
|
||||
id: notoFont
|
||||
source: "fonts/NotoSans.ttf"
|
||||
}
|
||||
Component.onCompleted: { startPlayer() }
|
||||
|
||||
function startPlayer() {
|
||||
var args = Qt.application.arguments
|
||||
var len = Qt.application.arguments.length
|
||||
var argNo = 1
|
||||
|
@ -157,11 +164,6 @@ Window {
|
|||
}
|
||||
}
|
||||
|
||||
FontLoader {
|
||||
id: notoFont
|
||||
source: "fonts/NotoSans.ttf"
|
||||
}
|
||||
|
||||
function createTimestamp(d) {
|
||||
d = Number(d)
|
||||
var h = Math.floor(d / 3600)
|
||||
|
|
Loading…
Reference in a new issue