From fed654f46d61fb293a58df368f976198cef5e9ce Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Feb 2019 18:42:42 +0100 Subject: tracker/kinect: remove tracker/test code --- tracker-kinect-face/kinect_face_settings.cpp | 8 -------- tracker-kinect-face/kinect_face_settings.ui | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'tracker-kinect-face') 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 @@ - QDialogButtonBox::Abort|QDialogButtonBox::Close + QDialogButtonBox::Close -- cgit v1.2.3