summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 18e6a9bf..24923ede 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -435,15 +435,8 @@ TrackerControls::TrackerControls()
void TrackerControls::set_camera_settings_available(const QString& camera_name)
{
-#ifdef _WIN32
- const bool avail = camera_name != QStringLiteral("PS3Eye Camera");
+ const bool avail = video_property_page::should_show_dialog(camera_name);
ui.camera_settings->setEnabled(avail);
-#elif defined(__linux)
- (void)camera_name;
-#else
- (void)camera_name;
- ui.camera_settings->setEnabled(false);
-#endif
}
void TrackerControls::show_camera_settings()