aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/noui.h5
-rw-r--r--src/util.h7
2 files changed, 5 insertions, 7 deletions
diff --git a/src/noui.h b/src/noui.h
index e91cca3cfd..4010ec3c7c 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 0b73549dc7..e4cf83f433 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
-