Skip to content

Commit 1732bc8

Browse files
committed
Handle 2 argument translation calls generated by Qt 5.7.1
This fixes a FTBFS error described in openscad/openscad#1872 Fix from openscad/openscad@4fa5f03
1 parent 7b2bab5 commit 1732bc8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

data.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ inline QString _( const char *msgid, int category )
2323
Q_UNUSED( category );
2424
return QString::fromUtf8( _( msgid ) );
2525
}
26+
inline QString _( const char *msgid, const char *disambiguation )
27+
{
28+
Q_UNUSED(disambiguation);
29+
return QString::fromUtf8(_(msgid));
30+
}
31+
2632
/** END TAG */
2733

2834

0 commit comments

Comments
 (0)