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

16 lines
385 B
QML
Raw Normal View History

import QtQuick 2.13
import utils 1.0
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)
}
}