From 9436a823baf35eb6b0b0cb30fd961ea2a300bccc Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 17 Dec 2023 13:53:25 +1000 Subject: [PATCH] Qt: Fix incorrect translation context preventing settings switch --- pcsx2-qt/Settings/SettingsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-qt/Settings/SettingsWindow.cpp b/pcsx2-qt/Settings/SettingsWindow.cpp index b222f2e5b1..c00c44e623 100644 --- a/pcsx2-qt/Settings/SettingsWindow.cpp +++ b/pcsx2-qt/Settings/SettingsWindow.cpp @@ -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++) {