mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
move translation function _ to qtui.h/noui.h instead of util.h
This commit is contained in:
@@ -66,4 +66,9 @@ inline void InitMessage(const std::string &message)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline const char* _(const char* psz)
|
||||||
|
{
|
||||||
|
return psz;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -95,13 +95,6 @@ inline void Sleep(int64 n)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(QT_GUI)
|
|
||||||
inline const char* _(const char* psz)
|
|
||||||
{
|
|
||||||
return psz;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user