summaryrefslogtreecommitdiffhomepage
path: root/proto-iokit-foohid/iokitprotocol.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-05 03:23:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-05 03:23:52 +0200
commitc0165f8b48852a1aca782d606ba4f1ea48eee6ba (patch)
tree433441689808ca741889b078407bc49fade746de /proto-iokit-foohid/iokitprotocol.h
parenteb32a2ac02c6d1adcfeb0a1a5522f8aaea442489 (diff)
modules: now use i18n
Diffstat (limited to 'proto-iokit-foohid/iokitprotocol.h')
-rw-r--r--proto-iokit-foohid/iokitprotocol.h5
1 files changed, 3 insertions, 2 deletions
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"); }
};