summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/ftnoir_tracker_rs_controls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rs/ftnoir_tracker_rs_controls.cpp')
-rw-r--r--tracker-rs/ftnoir_tracker_rs_controls.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs_controls.cpp b/tracker-rs/ftnoir_tracker_rs_controls.cpp
index be18b3f8..baa01c91 100644
--- a/tracker-rs/ftnoir_tracker_rs_controls.cpp
+++ b/tracker-rs/ftnoir_tracker_rs_controls.cpp
@@ -7,9 +7,6 @@
#include "ftnoir_tracker_rs_controls.h"
-#include <QProcess>
-#include <QMessageBox>
-
RSTrackerControls::RSTrackerControls()
{
ui.setupUi(this);
@@ -20,13 +17,9 @@ RSTrackerControls::RSTrackerControls()
void RSTrackerControls::doInstallRSRuntime()
{
- bool processStarted = QProcess::startDetached("contrib\\intel_rs_sdk_runtime_websetup_7.0.23.8048.exe --finstall=core,face3d --fnone=all");
- if(processStarted){
+ bool pStarted = RSTracker::startSdkInstallationProcess();
+ if(pStarted == true)
this->close();
- }
- else{
- QMessageBox::warning(0, "IntelĀ® RealSenseTM Runtime Installation", "Installation process failed to start.", QMessageBox::Ok);
- }
}
void RSTrackerControls::doOK()