move translation function _ to qtui.h/noui.h instead of util.h
This commit is contained in:
parent
6cb6d62347
commit
5d7cebdadc
2 changed files with 5 additions and 7 deletions
|
@ -66,4 +66,9 @@ inline void InitMessage(const std::string &message)
|
|||
{
|
||||
}
|
||||
|
||||
inline const char* _(const char* psz)
|
||||
{
|
||||
return psz;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -95,13 +95,6 @@ inline void Sleep(int64 n)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if !defined(QT_GUI)
|
||||
inline const char* _(const char* psz)
|
||||
{
|
||||
return psz;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue