diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-18 15:22:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-18 15:22:10 +0100 |
commit | 68b18098fb7423eb5ca8de8181119900323234f4 (patch) | |
tree | bbad8df17d04e1c48b03cb20f502b5d9c80a7cd7 /tracker-rs/ftnoir_tracker_rs_controls.cpp | |
parent | 5023b54ba76325bb0b5598d59714bdad2d55d81e (diff) |
tracker/realsense: fix installer path
For now it's still SDK 2016 R2.
Issue: #713
Diffstat (limited to 'tracker-rs/ftnoir_tracker_rs_controls.cpp')
-rw-r--r-- | tracker-rs/ftnoir_tracker_rs_controls.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs_controls.cpp b/tracker-rs/ftnoir_tracker_rs_controls.cpp index 3ea2a0a1..a5018957 100644 --- a/tracker-rs/ftnoir_tracker_rs_controls.cpp +++ b/tracker-rs/ftnoir_tracker_rs_controls.cpp @@ -10,15 +10,14 @@ RSdialog_realsense::RSdialog_realsense() { ui.setupUi(this); - connect(ui.triggerSDKInstallButton, SIGNAL(clicked(bool)), this, SLOT(doInstallRSRuntime())); - connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); - connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); + connect(ui.buttonBox, &QDialogButtonBox::accepted, this, &QDialog::close); + connect(ui.buttonBox, &QDialogButtonBox::rejected, this, &QDialog::close); } void RSdialog_realsense::doInstallRSRuntime() { bool pStarted = RSTracker::startSdkInstallationProcess(); - if(pStarted == true) + if(pStarted) close(); } |