mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-01-11 12:28:09 +03:00
Built by Qt 4.8 fixed
This commit is contained in:
parent
e4c8ec366b
commit
3b23470e2a
@ -96,7 +96,11 @@ void SettingDialog::setDesignerLanguages(QList<QLocale::Language> languages, QLo
|
|||||||
if (language != currentLanguage)
|
if (language != currentLanguage)
|
||||||
ui->designerLanguage->addItem(QLocale::languageToString(language));
|
ui->designerLanguage->addItem(QLocale::languageToString(language));
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_QT4
|
||||||
|
ui->designerLanguage->setCurrentIndex(ui->designerLanguage->findText(QLocale::languageToString(currentLanguage)));
|
||||||
|
#else
|
||||||
ui->designerLanguage->setCurrentText(QLocale::languageToString(currentLanguage));
|
ui->designerLanguage->setCurrentText(QLocale::languageToString(currentLanguage));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace LimeReport
|
} // namespace LimeReport
|
||||||
|
Loading…
Reference in New Issue
Block a user