1
0
Fork 0

Organize.

This commit is contained in:
NamedKitten 2018-10-18 11:07:09 +01:00
parent 39b66d951c
commit 6a8d20f7ab

View file

@ -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)