mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-28 06:52:47 +00: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);
|
||||
}
|
||||
|
||||
// Unlike other configuration, interface language change need to be reflect on the interface
|
||||
// immediately. This is done by passing a signal to the main window, and then retranslating when
|
||||
// passing back.
|
||||
// Unlike other configuration changes, interface language changes need to be reflected on the
|
||||
// interface immediately. This is done by passing a signal to the main window, and then
|
||||
// retranslating when passing back.
|
||||
connect(ui->language_combobox,
|
||||
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
||||
&ConfigureGeneral::onLanguageChanged);
|
||||
|
|
Loading…
Reference in a new issue