[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
This commit is contained in:
demmm 2020-07-24 17:34:14 +02:00
parent 11482559ad
commit d114c383fa
2 changed files with 2 additions and 6 deletions

View File

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

View File

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