summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-pt/pt-settings.cpp8
-rw-r--r--tracker-pt/pt-settings.hpp6
2 files changed, 3 insertions, 11 deletions
diff --git a/tracker-pt/pt-settings.cpp b/tracker-pt/pt-settings.cpp
deleted file mode 100644
index 5e9e1e1a..00000000
--- a/tracker-pt/pt-settings.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "pt-settings.hpp"
-
-namespace pt_settings_detail {
-
-pt_settings::pt_settings(const QString& name) : opts(name) {}
-pt_settings::~pt_settings() = default;
-
-} // ns pt_settings_detail
diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp
index 7d8a8f0a..088dfe5a 100644
--- a/tracker-pt/pt-settings.hpp
+++ b/tracker-pt/pt-settings.hpp
@@ -23,9 +23,6 @@ struct pt_settings final : options::opts
{
using slider_value = options::slider_value;
- explicit pt_settings(const QString& name);
- ~pt_settings() override;
-
value<QString> camera_name { b, "camera-name", "" };
value<int> cam_res_x { b, "camera-res-width", 640 },
cam_res_y { b, "camera-res-height", 480 },
@@ -58,6 +55,9 @@ struct pt_settings final : options::opts
value<pt_color_type> blob_color { b, "blob-color", pt_color_natural };
value<slider_value> threshold_slider { b, "threshold-slider", { 128, 0, 255 } };
+
+ explicit pt_settings(const QString& name) : opts(name) {}
+ ~pt_settings() = default;
};
} // ns pt_settings_detail