1
0
Fork 0

[UI] Reformatted QML.

This commit is contained in:
Kitteh 2018-11-06 07:37:05 +00:00
parent 20e262b709
commit 6b1078f93b

View file

@ -40,7 +40,8 @@ ApplicationWindow {
var track = newTracks[i]
var trackID = track["id"]
var trackType = track["type"]
var trackLang = LanguageCodes.localeCodeToEnglish(String(track["lang"]))
var trackLang = LanguageCodes.localeCodeToEnglish(
String(track["lang"]))
var trackTitle = track["title"]
if (trackType == "sub") {
subModel.append({
@ -400,7 +401,6 @@ ApplicationWindow {
property string customKeybind8Command: ""
property string customKeybind9: ""
property string customKeybind9Command: ""
}
MenuBar {
id: menuBar
@ -1263,8 +1263,7 @@ ApplicationWindow {
anchors.top: parent.top
anchors.bottom: parent.bottom
onMoved: {
player.setVolume(Math.round(
volumeBar.value).toString())
player.setVolume(Math.round(volumeBar.value).toString())
}
handle: Rectangle {