[UI] Reformatted QML.
This commit is contained in:
parent
20e262b709
commit
6b1078f93b
|
@ -40,7 +40,8 @@ ApplicationWindow {
|
||||||
var track = newTracks[i]
|
var track = newTracks[i]
|
||||||
var trackID = track["id"]
|
var trackID = track["id"]
|
||||||
var trackType = track["type"]
|
var trackType = track["type"]
|
||||||
var trackLang = LanguageCodes.localeCodeToEnglish(String(track["lang"]))
|
var trackLang = LanguageCodes.localeCodeToEnglish(
|
||||||
|
String(track["lang"]))
|
||||||
var trackTitle = track["title"]
|
var trackTitle = track["title"]
|
||||||
if (trackType == "sub") {
|
if (trackType == "sub") {
|
||||||
subModel.append({
|
subModel.append({
|
||||||
|
@ -400,7 +401,6 @@ ApplicationWindow {
|
||||||
property string customKeybind8Command: ""
|
property string customKeybind8Command: ""
|
||||||
property string customKeybind9: ""
|
property string customKeybind9: ""
|
||||||
property string customKeybind9Command: ""
|
property string customKeybind9Command: ""
|
||||||
|
|
||||||
}
|
}
|
||||||
MenuBar {
|
MenuBar {
|
||||||
id: menuBar
|
id: menuBar
|
||||||
|
@ -1263,8 +1263,7 @@ ApplicationWindow {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
onMoved: {
|
onMoved: {
|
||||||
player.setVolume(Math.round(
|
player.setVolume(Math.round(volumeBar.value).toString())
|
||||||
volumeBar.value).toString())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
handle: Rectangle {
|
handle: Rectangle {
|
||||||
|
|
Loading…
Reference in a new issue