Merge pull request #1873 from openscad/qt5-compile-fix
Handle 2 argument translation calls generated by Qt 5.7.1 (fixes #1872).
This commit is contained in:
commit
5aff07ddd4
1 changed files with 9 additions and 3 deletions
|
|
@ -16,10 +16,16 @@
|
|||
|
||||
#define N_(String) String
|
||||
|
||||
inline QString _( const char *msgid, int category )
|
||||
inline QString _(const char *msgid, int category)
|
||||
{
|
||||
Q_UNUSED( category );
|
||||
return QString::fromUtf8( _( msgid ) );
|
||||
Q_UNUSED(category);
|
||||
return QString::fromUtf8(_(msgid));
|
||||
}
|
||||
|
||||
inline QString _(const char *msgid, const char *disambiguation)
|
||||
{
|
||||
Q_UNUSED(disambiguation);
|
||||
return QString::fromUtf8(_(msgid));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue