From: Wladimir J. van der Laan Date: Sat, 24 Mar 2012 20:13:48 +0000 (+0100) Subject: move translation function _ to qtui.h/noui.h instead of util.h X-Git-Tag: v0.4.0-unstable~129^2~110^2~4 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=5d7cebdadc991a23195a3519c1e9c038cb4f2290 move translation function _ to qtui.h/noui.h instead of util.h --- diff --git a/src/noui.h b/src/noui.h index e91cca3..4010ec3 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 0b73549..e4cf83f 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 -