diff options
author | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-05-30 00:01:07 +0200 |
---|---|---|
committer | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-05-30 03:37:38 +0200 |
commit | 499c89790b0e07dbb014b8b7415bf0e28cecfaaf (patch) | |
tree | edc895b3b21f450bf01de7b24834c8e00d731e11 /src | |
parent | Update some files with Qt 5.15.2 best practices in mind (diff) | |
download | yuzu-499c89790b0e07dbb014b8b7415bf0e28cecfaaf.tar yuzu-499c89790b0e07dbb014b8b7415bf0e28cecfaaf.tar.gz yuzu-499c89790b0e07dbb014b8b7415bf0e28cecfaaf.tar.bz2 yuzu-499c89790b0e07dbb014b8b7415bf0e28cecfaaf.tar.lz yuzu-499c89790b0e07dbb014b8b7415bf0e28cecfaaf.tar.xz yuzu-499c89790b0e07dbb014b8b7415bf0e28cecfaaf.tar.zst yuzu-499c89790b0e07dbb014b8b7415bf0e28cecfaaf.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/configuration/configure_motion_touch.cpp | 2 | ||||
-rw-r--r-- | src/yuzu/configuration/configure_motion_touch.ui | 19 |
2 files changed, 3 insertions, 18 deletions
diff --git a/src/yuzu/configuration/configure_motion_touch.cpp b/src/yuzu/configuration/configure_motion_touch.cpp index 27559c37b..c313b0919 100644 --- a/src/yuzu/configuration/configure_motion_touch.cpp +++ b/src/yuzu/configuration/configure_motion_touch.cpp @@ -151,6 +151,8 @@ void ConfigureMotionTouch::ConnectEvents() { &ConfigureMotionTouch::OnConfigureTouchCalibration); connect(ui->touch_from_button_config_btn, &QPushButton::clicked, this, &ConfigureMotionTouch::OnConfigureTouchFromButton); + connect(ui->buttonBox, &QDialogButtonBox::accepted, this, + &ConfigureMotionTouch::ApplyConfiguration); connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [this] { if (CanCloseDialog()) { reject(); diff --git a/src/yuzu/configuration/configure_motion_touch.ui b/src/yuzu/configuration/configure_motion_touch.ui index c75a84ae4..0237fae54 100644 --- a/src/yuzu/configuration/configure_motion_touch.ui +++ b/src/yuzu/configuration/configure_motion_touch.ui @@ -293,22 +293,5 @@ </layout> </widget> <resources/> - <connections> - <connection> - <sender>buttonBox</sender> - <signal>accepted()</signal> - <receiver>ConfigureMotionTouch</receiver> - <slot>ApplyConfiguration()</slot> - <hints> - <hint type="sourcelabel"> - <x>20</x> - <y>20</y> - </hint> - <hint type="destinationlabel"> - <x>20</x> - <y>20</y> - </hint> - </hints> - </connection> - </connections> + <connections/> </ui> |