Fix for dialog Options.
--HG-- branch : develop
This commit is contained in:
parent
4bf209a525
commit
134269dd02
Binary file not shown.
Before Width: | Height: | Size: 562 B After Width: | Height: | Size: 144 B |
|
@ -89,6 +89,7 @@ QGroupBox *ConfigurationPage::SaveGroup()
|
||||||
{
|
{
|
||||||
autoTimeValue = 5;
|
autoTimeValue = 5;
|
||||||
}
|
}
|
||||||
|
autoTime->setRange(1, 60);
|
||||||
autoTime->setValue(autoTimeValue);
|
autoTime->setValue(autoTimeValue);
|
||||||
autoTime->setSuffix(tr("min"));
|
autoTime->setSuffix(tr("min"));
|
||||||
|
|
||||||
|
@ -142,6 +143,11 @@ QGroupBox *ConfigurationPage::LangGroup()
|
||||||
|
|
||||||
langCombo->addItem(ico, lang, locale);
|
langCombo->addItem(ico, lang, locale);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QIcon ico(QString("%1/%2.png").arg("://icon/flags").arg("en"));
|
||||||
|
QString lang = QLocale("en").nativeLanguageName();
|
||||||
|
langCombo->addItem(ico, lang, "en");
|
||||||
|
|
||||||
// set default translators and language checked
|
// set default translators and language checked
|
||||||
qint32 index = langCombo->findData(checkedLocale);
|
qint32 index = langCombo->findData(checkedLocale);
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user