mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-16 20:07:16 +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);
|
||||
}
|
||||
|
||||
// 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 New Issue
Block a user