summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/ftnoir_tracker_rs_controls.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-21 12:01:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-21 12:01:58 +0200
commitea0fe4748db634d4f45805c677572db6c3b09f79 (patch)
tree6fa3b55843625de5acc5193747e79d42b0715007 /tracker-rs/ftnoir_tracker_rs_controls.cpp
parent397aabbef822f7438a55600829cd4d5604a31ebf (diff)
tracker/realsense: downgrade to r2
Issue: #1317 Installation instructions in the UI based on post by @JayMonkey <https://github.com/opentrack/opentrack/issues/1317#issuecomment-908408101>.
Diffstat (limited to 'tracker-rs/ftnoir_tracker_rs_controls.cpp')
-rw-r--r--tracker-rs/ftnoir_tracker_rs_controls.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs_controls.cpp b/tracker-rs/ftnoir_tracker_rs_controls.cpp
index a5018957..230fd9a4 100644
--- a/tracker-rs/ftnoir_tracker_rs_controls.cpp
+++ b/tracker-rs/ftnoir_tracker_rs_controls.cpp
@@ -14,11 +14,9 @@ RSdialog_realsense::RSdialog_realsense()
connect(ui.buttonBox, &QDialogButtonBox::rejected, this, &QDialog::close);
}
-void RSdialog_realsense::doInstallRSRuntime()
+void RSdialog_realsense::set_buttons_visible(bool x)
{
- bool pStarted = RSTracker::startSdkInstallationProcess();
- if(pStarted)
- close();
+ ui.buttonBox->setVisible(x);
}
void RSdialog_realsense::doOK()