From 97f74d1e7b37cf15d4763999e1287a665eeedcec Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 9 Dec 2017 18:19:15 +0100 Subject: many: use otr_tr for non-qobject translation I haven't even compile-tested Linux and OSX-specific bits. --- proto-wine/ftnoir_protocol_wine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto-wine') diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp index 36c01c25..dd1370e2 100644 --- a/proto-wine/ftnoir_protocol_wine.cpp +++ b/proto-wine/ftnoir_protocol_wine.cpp @@ -9,6 +9,7 @@ #include /* For mode constants */ #include /* For O_* constants */ #include "csv/csv.h" +#include "compat/macros.hpp" wine::wine() : lck_shm(WINE_SHM_NAME, WINE_MTX_NAME, sizeof(WineSHM)), shm(NULL), gameid(0) { @@ -59,7 +60,7 @@ module_status wine::check_status() if (lck_shm.success()) return status_ok(); else - return error(QCoreApplication::translate("wine", "Can't open shared memory mapping")); + return error(otr_tr("Can't open shared memory mapping")); } OPENTRACK_DECLARE_PROTOCOL(wine, FTControls, wineDll) -- cgit v1.2.3