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 --- proto-iokit-foohid/iokitprotocol.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proto-iokit-foohid') diff --git a/proto-iokit-foohid/iokitprotocol.h b/proto-iokit-foohid/iokitprotocol.h index e3a1355c..2590b382 100644 --- a/proto-iokit-foohid/iokitprotocol.h +++ b/proto-iokit-foohid/iokitprotocol.h @@ -28,7 +28,8 @@ private: class IOKitProtocolMetadata : public Metadata { -public: - QString name() { return otr_tr("Virtual joystick"); } + Q_OBJECT + + QString name() { return tr("Virtual joystick"); } QIcon icon() { return QIcon(":/images/opentrack.png"); } }; -- cgit v1.2.3