mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-25 09:21:47 +01:00
fixup!citra_qt: load translation from resource
This commit is contained in:
parent
798a1c6ae9
commit
5345d2e957
@ -24,9 +24,9 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
|
|||||||
ui->language_combobox->addItem(lang, locale);
|
ui->language_combobox->addItem(lang, locale);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unlike other configuration, interface language change need to be reflect on the interface
|
// Unlike other configuration changes, interface language changes need to be reflected on the
|
||||||
// immediately. This is done by passing a signal to the main window, and then retranslating when
|
// interface immediately. This is done by passing a signal to the main window, and then
|
||||||
// passing back.
|
// retranslating when passing back.
|
||||||
connect(ui->language_combobox,
|
connect(ui->language_combobox,
|
||||||
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
||||||
&ConfigureGeneral::onLanguageChanged);
|
&ConfigureGeneral::onLanguageChanged);
|
||||||
|
Loading…
Reference in New Issue
Block a user