diff --git a/src/noui.h b/src/noui.h index e91cca3cf..4010ec3c7 100644 --- a/src/noui.h +++ b/src/noui.h @@ -66,4 +66,9 @@ inline void InitMessage(const std::string &message) { } +inline const char* _(const char* psz) +{ + return psz; +} + #endif diff --git a/src/util.h b/src/util.h index 0b73549dc..e4cf83f43 100644 --- a/src/util.h +++ b/src/util.h @@ -95,13 +95,6 @@ inline void Sleep(int64 n) } #endif -#if !defined(QT_GUI) -inline const char* _(const char* psz) -{ - return psz; -} -#endif -