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 bf134c75..05a027bd 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -1,5 +1,7 @@
#pragma once
+#define otr_tr(str) (QCoreApplication::translate(OTR_MODULE_NAME, (str)))
+
#if defined _MSC_VER
# define never_inline __declspec(noinline)
#elif defined __GNUG__