Fix build with clang.
This commit is contained in:
parent
ca186be41d
commit
25bef8f227
|
@ -183,7 +183,7 @@ void TST_TSTranslation::CheckInvalidCharacter()
|
|||
QFETCH(QString, source);
|
||||
QFETCH(QDomElement, message);
|
||||
|
||||
if (source == '=' or source == '%')
|
||||
if (source == QChar('=') or source == QChar('%'))
|
||||
{
|
||||
const QDomNode context = message.parentNode();
|
||||
if (context.isNull())
|
||||
|
|
Loading…
Reference in New Issue
Block a user