summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar QGJ2023-05-07 18:05:42 +0200
committerGravatar QGJ2023-05-07 18:05:42 +0200
commit4366a21eaed655bdbff8cf8c94a1a9796d36aafa (patch)
treea85517c1046bcb4323c39b2f5dce6f4963b454dc /src
parentMerge pull request #10187 from Kelebek1/address_space (diff)
downloadyuzu-4366a21eaed655bdbff8cf8c94a1a9796d36aafa.tar.gz
yuzu-4366a21eaed655bdbff8cf8c94a1a9796d36aafa.tar.xz
yuzu-4366a21eaed655bdbff8cf8c94a1a9796d36aafa.zip
yuzu/applets/qt_profile_select: connect double-click to accept()
In the profile selection window: Allow the user to start the game by double-clicking a profile to avoid having to additionally click the OK button. This avoids an unnecessary "step" to the start of the game...
Diffstat (limited to '')
-rw-r--r--src/yuzu/applets/qt_profile_select.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/applets/qt_profile_select.cpp b/src/yuzu/applets/qt_profile_select.cpp
index 2448e46b6..1f3f23038 100644
--- a/src/yuzu/applets/qt_profile_select.cpp
+++ b/src/yuzu/applets/qt_profile_select.cpp
@@ -95,6 +95,7 @@ QtProfileSelectionDialog::QtProfileSelectionDialog(
95 scroll_area->setLayout(layout); 95 scroll_area->setLayout(layout);
96 96
97 connect(tree_view, &QTreeView::clicked, this, &QtProfileSelectionDialog::SelectUser); 97 connect(tree_view, &QTreeView::clicked, this, &QtProfileSelectionDialog::SelectUser);
98 connect(tree_view, &QTreeView::doubleClicked, this, &QtProfileSelectionDialog::accept);
98 connect(controller_navigation, &ControllerNavigation::TriggerKeyboardEvent, 99 connect(controller_navigation, &ControllerNavigation::TriggerKeyboardEvent,
99 [this](Qt::Key key) { 100 [this](Qt::Key key) {
100 if (!this->isActiveWindow()) { 101 if (!this->isActiveWindow()) {