diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-01 18:19:24 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-01 18:19:24 +0100 |
commit | b4217a4a98fe1837556544b38ed29cbd76d2b2c5 (patch) | |
tree | 7392de7320b674d6c966887ff660a37afce0d2f0 /tracker-pt | |
parent | 4928e8e50cf579129c5cb1ef4b679a881fb59a62 (diff) |
tracker/pt: fix link error due to namespace
Reported by: @Attigliuzzo
Fixes: #882
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 4 |
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); |