summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);