Skip to content

Commit

Permalink
Qt: Fix incorrect translation context preventing settings switch
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 17, 2023
1 parent 93992ee commit bf85692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2-qt/Settings/SettingsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
{
Expand Down

0 comments on commit bf85692

Please sign in to comment.