summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-12 16:59:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-12 16:59:12 +0200
commit7d1905251c12c27d7bc2caed03169b6a0fd9f83d (patch)
tree1686c09ef04637c3eb4c9fcd0af508e994408e9c /tracker-pt/pt-settings.hpp
parent8f884f056e80fefa766481dbc04ae3936ae29c97 (diff)
pt/settings: make header-only
Diffstat (limited to 'tracker-pt/pt-settings.hpp')
-rw-r--r--tracker-pt/pt-settings.hpp6
1 files changed, 3 insertions, 3 deletions
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