summaryrefslogtreecommitdiffhomepage
path: root/compat/macros.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/macros.hpp')
-rw-r--r--compat/macros.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
index c3bbb652..a2fc69db 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -2,8 +2,8 @@
#if !defined __WINE__
# include <QCoreApplication>
-# define otr_tr(str) (QCoreApplication::translate(OTR_MODULE_NAME, (str)))
-# define _(x) otr_tr((x))
+# define otr_tr(str, ...) (QCoreApplication::translate(OTR_MODULE_NAME, (str), __VA_ARGS__))
+# define _(x, ...) otr_tr((x), __VA_ARGS__)
#endif
#if defined _MSC_VER