Fix build with clang.

This commit is contained in:
Roman Telezhynskyi 2020-03-27 12:30:36 +02:00
parent ca186be41d
commit 25bef8f227

View file

@ -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())