diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-19 14:33:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-19 14:34:22 +0100 |
commit | cca740afeaa3c4d79035546bf77935efe38830b1 (patch) | |
tree | cb2e1348b6268b65a55d40f4b16d5653a4b32e23 /tracker-pt/ftnoir_tracker_pt_dialog.cpp | |
parent | 8017f3ae7cbcd5cee60b60da6be87597d17b45f7 (diff) |
tracker/pt: fix broken resources
Spotted by: @cpuwolf
Issue: #718
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 5d376468..a8b545ca 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -11,7 +11,9 @@ #include "compat/math.hpp" #include "compat/camera-names.hpp" #include <opencv2/core.hpp> + #include <QString> +#include <QtGlobal> #include <QDebug> using namespace options; @@ -22,6 +24,8 @@ TrackerDialog_PT::TrackerDialog_PT(const QString& module_name) : timer(this), trans_calib(1, 2, 0) { + Q_INIT_RESOURCE(tracker_pt_base); + ui.setupUi(this); ui.camdevice_combo->addItems(get_camera_names()); |