fixed qml warnings and hindi language warnings (#805)
This commit is contained in:
parent
c3eddc92bd
commit
acf7fa261a
33 changed files with 37 additions and 107 deletions
|
|
@ -92,9 +92,9 @@ int LanguageModel::getCurrentLanguageIndex()
|
|||
|
||||
int LanguageModel::getLineHeightAppend()
|
||||
{
|
||||
int langIndex = getCurrentLanguageIndex();
|
||||
switch (langIndex) {
|
||||
case 5: return 10; break; // Burmese
|
||||
auto language = static_cast<LanguageSettings::AvailableLanguageEnum>(getCurrentLanguageIndex());
|
||||
switch (language) {
|
||||
case LanguageSettings::AvailableLanguageEnum::Burmese: return 10; break;
|
||||
default: return 0; break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue