mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-01 11:40:02 +03:00
WIP
This commit is contained in:
@@ -12,11 +12,10 @@ LanguageSelectDialog::LanguageSelectDialog(QWidget *parent) :
|
||||
for (int i = 2; i<QLocale::LastLanguage; ++i){
|
||||
ui->comboBox->addItem(QLocale::languageToString(static_cast<QLocale::Language>(i)),static_cast<QLocale::Language>(i));
|
||||
}
|
||||
#ifdef HAVE_QT5
|
||||
ui->comboBox->setCurrentText("");
|
||||
#endif
|
||||
#ifdef HAVE_QT4
|
||||
#if QT_VERSION < 0x050000
|
||||
ui->comboBox->setEditText("");
|
||||
#else
|
||||
ui->comboBox->setCurrentText("");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user