summaryrefslogtreecommitdiff
path: root/src/yuzu/game_list.h
diff options
context:
space:
mode:
authorKyle Kienapfel <Docteh@users.noreply.github.com>2022-06-10 19:17:18 -0700
committerKyle Kienapfel <Docteh@users.noreply.github.com>2022-06-10 20:15:52 -0700
commit2ff606628cf1393d85fb51060a296bceb4d29bfd (patch)
treea142f40c3d81a01478d02106af7eb9e147f7d363 /src/yuzu/game_list.h
parent8a858c2623bc8be34f2f675c0caea6a3bdc70afc (diff)
UI: retranslate the game list placeholder
This is the "Double-click to add a new folder to the game list" message that shows up when users first launch yuzu and is most likely never seen again. Previously this message was not re-translated.
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r--src/yuzu/game_list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h
index d19dbe4b0..464da98ad 100644
--- a/src/yuzu/game_list.h
+++ b/src/yuzu/game_list.h
@@ -166,6 +166,9 @@ protected:
void mouseDoubleClickEvent(QMouseEvent* event) override;
private:
+ void changeEvent(QEvent* event) override;
+ void RetranslateUI();
+
QVBoxLayout* layout = nullptr;
QLabel* image = nullptr;
QLabel* text = nullptr;