summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/macros.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
index e27eb906..5a2f01e3 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -1,6 +1,8 @@
#pragma once
+#include <QCoreApplication>
#define otr_tr(str) (QCoreApplication::translate(OTR_MODULE_NAME, (str)))
+#define _(x) otr_tr(x)
#if defined _MSC_VER
# define never_inline __declspec(noinline)