summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar lat9nq2021-02-14 15:57:47 -0500
committerGravatar lat9nq2021-02-14 16:10:12 -0500
commit6269cd7f1d5d7745088d192f26e7164a4bf13269 (patch)
tree02c002f224668f9a874206b164c118fb02924f7d /src
parentMerge pull request #5920 from bunnei/am-ldn-fix (diff)
downloadyuzu-6269cd7f1d5d7745088d192f26e7164a4bf13269.tar.gz
yuzu-6269cd7f1d5d7745088d192f26e7164a4bf13269.tar.xz
yuzu-6269cd7f1d5d7745088d192f26e7164a4bf13269.zip
debugger: controller: Add access key
Adds the access key to the Controller P1 selection at View -> Debugger -> Controller P1. Avoids using the windowTitle as that would add a literal & to the beginning of the window title.
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/debugger/controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/controller.cpp b/src/yuzu/debugger/controller.cpp
index 85724a8f3..2731d948d 100644
--- a/src/yuzu/debugger/controller.cpp
+++ b/src/yuzu/debugger/controller.cpp
@@ -42,7 +42,7 @@ void ControllerDialog::refreshConfiguration() {
42 42
43QAction* ControllerDialog::toggleViewAction() { 43QAction* ControllerDialog::toggleViewAction() {
44 if (toggle_view_action == nullptr) { 44 if (toggle_view_action == nullptr) {
45 toggle_view_action = new QAction(windowTitle(), this); 45 toggle_view_action = new QAction(tr("&Controller P1"), this);
46 toggle_view_action->setCheckable(true); 46 toggle_view_action->setCheckable(true);
47 toggle_view_action->setChecked(isVisible()); 47 toggle_view_action->setChecked(isVisible());
48 connect(toggle_view_action, &QAction::toggled, this, &ControllerDialog::setVisible); 48 connect(toggle_view_action, &QAction::toggled, this, &ControllerDialog::setVisible);