Fix for dialog Options.

--HG--
branch : develop
This commit is contained in:
dismine 2014-02-14 13:51:59 +02:00
parent 4bf209a525
commit 134269dd02
2 changed files with 6 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 B

After

Width:  |  Height:  |  Size: 144 B

View File

@ -89,6 +89,7 @@ QGroupBox *ConfigurationPage::SaveGroup()
{
autoTimeValue = 5;
}
autoTime->setRange(1, 60);
autoTime->setValue(autoTimeValue);
autoTime->setSuffix(tr("min"));
@ -142,6 +143,11 @@ QGroupBox *ConfigurationPage::LangGroup()
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
qint32 index = langCombo->findData(checkedLocale);
if (index != -1)