[localeq] remove obsolete vars & comments

set index in i18n.qml to -1, old settings were just for reading from the bogus model
current model uses strings, so index fails to read from it.  This fixes cala crashing on loading i18n.qml
main
demmm 5 years ago
parent 11482559ad
commit d114c383fa

@ -74,7 +74,7 @@ Item {
model: config.supportedLocales
currentIndex: 1
currentIndex: -1
highlight: Rectangle {
color: Kirigami.Theme.highlightColor
}
@ -133,10 +133,9 @@ Item {
width: 180; height: 200
focus: true
// bogus entries, need to come from Locale config
model: config.supportedLocales
currentIndex: 2
currentIndex: -1
highlight: Rectangle {
color: Kirigami.Theme.highlightColor
}

@ -29,9 +29,6 @@ Page {
width: 800
height: 550
property var confLang: "American English"
property var confLocale: "Nederland"
Loader {
id: image
anchors.horizontalCenter: parent.horizontalCenter

Loading…
Cancel
Save