forked from qt-creator/qt-creator
KSyntaxHighlighter: Fix compile
Amends 6b9cad8b05.
Change-Id: I9f254e254edfadeb4fa1e41c20514463477d7184
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Xml
|
||||
/** Parse a xs:boolean attribute. */
|
||||
inline bool attrToBool(const QStringView &str)
|
||||
{
|
||||
return str == QLatin1String("1") || str.compare(QLatin1String("true"), Qt::CaseInsensitive) == 0;
|
||||
return str == QLatin1String("1") || str.compare(QString("true"), Qt::CaseInsensitive) == 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user