From c0165f8b48852a1aca782d606ba4f1ea48eee6ba Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 5 Apr 2018 03:23:38 +0200 Subject: modules: now use i18n --- tracker-rs/ftnoir_tracker_rs.cpp | 2 +- tracker-rs/ftnoir_tracker_rs.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tracker-rs') diff --git a/tracker-rs/ftnoir_tracker_rs.cpp b/tracker-rs/ftnoir_tracker_rs.cpp index 7918b6dc..12e56f00 100644 --- a/tracker-rs/ftnoir_tracker_rs.cpp +++ b/tracker-rs/ftnoir_tracker_rs.cpp @@ -147,7 +147,7 @@ RSTracker::~RSTracker() { } QString RSTrackerMetaData::name() { - return otr_tr("Intel® RealSense™ Technology"); + return tr("Intel® RealSense™ Technology"); } QIcon RSTrackerMetaData::icon() { diff --git a/tracker-rs/ftnoir_tracker_rs.h b/tracker-rs/ftnoir_tracker_rs.h index bcf787a0..881e03ca 100644 --- a/tracker-rs/ftnoir_tracker_rs.h +++ b/tracker-rs/ftnoir_tracker_rs.h @@ -48,7 +48,8 @@ private slots: class RSTrackerMetaData : public Metadata { -public: + Q_OBJECT + QString name(); QIcon icon(); }; -- cgit v1.2.3