summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 18:42:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 20:21:35 +0100
commitfed654f46d61fb293a58df368f976198cef5e9ce (patch)
treed1e3d2df195142bd054cecd6d3b0b562097e4041 /tracker-kinect-face
parent9e748ac687e905f55f7ee013bc5499b31c8a030d (diff)
tracker/kinect: remove tracker/test code
Diffstat (limited to 'tracker-kinect-face')
-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>