summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-kinect-face/kinect_face_settings.cpp8
-rw-r--r--tracker-kinect-face/kinect_face_settings.ui2
2 files changed, 1 insertions, 9 deletions
diff --git a/tracker-kinect-face/kinect_face_settings.cpp b/tracker-kinect-face/kinect_face_settings.cpp
index 238a3da6..c27b20bd 100644
--- a/tracker-kinect-face/kinect_face_settings.cpp
+++ b/tracker-kinect-face/kinect_face_settings.cpp
@@ -21,14 +21,6 @@ KinectFaceSettings::KinectFaceSettings()
{
ui.setupUi(this);
- connect(ui.buttonBox, &QDialogButtonBox::clicked, [this](QAbstractButton* btn) {
- if (btn == ui.buttonBox->button(QDialogButtonBox::Abort))
- {
- // NOLINTNEXTLINE
- //*(volatile int*)nullptr = 0;
- }
- });
-
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
}
diff --git a/tracker-kinect-face/kinect_face_settings.ui b/tracker-kinect-face/kinect_face_settings.ui
index a6192d9b..e7524e4a 100644
--- a/tracker-kinect-face/kinect_face_settings.ui
+++ b/tracker-kinect-face/kinect_face_settings.ui
@@ -49,7 +49,7 @@
</sizepolicy>
</property>
<property name="standardButtons">
- <set>QDialogButtonBox::Abort|QDialogButtonBox::Close</set>
+ <set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>