diff options
author | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-04-13 13:29:59 -0700 |
---|---|---|
committer | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-04-16 16:30:45 -0700 |
commit | 42b8148acaf9a47c2edafe89594a6dc54b22f59f (patch) | |
tree | d5da7f7258c461182a9d88e6be1b347d1e5f9874 /src/yuzu/game_list_p.h | |
parent | ca2accfb259b948431ec174ead432778f3c86f67 (diff) |
ui: Fix Game Compatibility list translations
Reported by GillianMC on Discord. Looks to be a small quirk in the QT API.
setText(QObject::tr(status.text));
bringing up QObject breaks the link with the GameListItemCompat
Diffstat (limited to 'src/yuzu/game_list_p.h')
-rw-r--r-- | src/yuzu/game_list_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h index 211a84dde..f2a986ed8 100644 --- a/src/yuzu/game_list_p.h +++ b/src/yuzu/game_list_p.h @@ -164,8 +164,8 @@ public: } const CompatStatus& status = iterator->second; setData(compatibility, CompatNumberRole); - setText(QObject::tr(status.text)); - setToolTip(QObject::tr(status.tooltip)); + setText(tr(status.text)); + setToolTip(tr(status.tooltip)); setData(CreateCirclePixmapFromColor(status.color), Qt::DecorationRole); } |