summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-01 18:19:24 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-01 18:19:24 +0100
commitb4217a4a98fe1837556544b38ed29cbd76d2b2c5 (patch)
tree7392de7320b674d6c966887ff660a37afce0d2f0 /tracker-pt/ftnoir_tracker_pt_dialog.cpp
parent4928e8e50cf579129c5cb1ef4b679a881fb59a62 (diff)
tracker/pt: fix link error due to namespace
Reported by: @Attigliuzzo Fixes: #882
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt_dialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
index 91d5d4e7..2b06c823 100644
--- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp
+++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
@@ -19,6 +19,8 @@
using namespace options;
+static void init_resources() { Q_INIT_RESOURCE(tracker_pt_base); }
+
namespace pt_impl {
TrackerDialog_PT::TrackerDialog_PT(const QString& module_name) :
@@ -27,7 +29,7 @@ TrackerDialog_PT::TrackerDialog_PT(const QString& module_name) :
timer(this),
trans_calib(1, 2)
{
- Q_INIT_RESOURCE(tracker_pt_base);
+ init_resources();
ui.setupUi(this);