1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(generalform): call UI retranslation when date or time format changes

Needed to update date and time display.
This commit is contained in:
a68366 2016-07-08 00:18:12 +03:00
parent 6030b083b1
commit d601599de8

View File

@ -355,11 +355,13 @@ void GeneralForm::onEmoticonSizeChanged()
void GeneralForm::onTimestampSelected(int index)
{
Settings::getInstance().setTimestampFormat(timeFormats.at(index));
Translator::translate();
}
void GeneralForm::onDateFormatSelected(int index)
{
Settings::getInstance().setDateFormat(dateFormats.at(index));
Translator::translate();
}
void GeneralForm::onAutoAwayChanged()