summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-23 04:35:55 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-23 04:35:55 +0200
commitce0f1baf5136dc0ec136318b216976fb34bacb30 (patch)
tree74d20d5677a88fd59c643a25081b23cc3ca2f26f
parentconfig-android: Translate console mode setting (diff)
downloadyuzu-ce0f1baf5136dc0ec136318b216976fb34bacb30.tar
yuzu-ce0f1baf5136dc0ec136318b216976fb34bacb30.tar.gz
yuzu-ce0f1baf5136dc0ec136318b216976fb34bacb30.tar.bz2
yuzu-ce0f1baf5136dc0ec136318b216976fb34bacb30.tar.lz
yuzu-ce0f1baf5136dc0ec136318b216976fb34bacb30.tar.xz
yuzu-ce0f1baf5136dc0ec136318b216976fb34bacb30.tar.zst
yuzu-ce0f1baf5136dc0ec136318b216976fb34bacb30.zip
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 8fe8d0a23..3f126d9d1 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1159,7 +1159,7 @@ void GMainWindow::InitializeWidgets() {
QMenu context_menu;
for (auto const& [value, text] : Config::use_docked_mode_texts_map) {
- context_menu.addAction(text, [this, value] {
+ context_menu.addAction(text, [&] {
if (value != Settings::values.use_docked_mode.GetValue()) {
OnToggleDockedMode();
}