mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-02-25 23:05:51 +00:00
Qt: Fix incorrect translation context preventing settings switch
This commit is contained in:
parent
1346c98a58
commit
9436a823ba
@ -256,7 +256,7 @@ QString SettingsWindow::getCategory() const
|
||||
void SettingsWindow::setCategory(const char* category)
|
||||
{
|
||||
// the titles in the category list will be translated.
|
||||
const QString translated_category(qApp->translate("SettingsDialog", category));
|
||||
const QString translated_category(tr(category));
|
||||
|
||||
for (int i = 0; i < m_ui.settingsCategory->count(); i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user