status-desktop/ui/app/AppLayouts/Profile/stores/LanguageStore.qml

15 lines
368 B
QML
Raw Normal View History

import QtQuick 2.15
QtObject {
id: root
property var languageModule
readonly property var languageModel: languageModule ? languageModule.model : null
readonly property string currentLanguage: languageModule ? languageModule.currentLanguage : null
2022-11-10 14:28:53 +00:00
function changeLanguage(language) {
root.languageModule.changeLanguage(language)
}
}