Fix build.

This commit is contained in:
Roman Telezhynskyi 2023-06-24 13:57:00 +03:00
parent dba7fa33df
commit 97fd973352
2 changed files with 2 additions and 1 deletions

View File

@ -878,7 +878,7 @@ auto VPLayoutFileReader::ReadLabelLines() -> VTextManager
QStringList svgFontData = ReadAttributeEmptyString(attribs, ML::AttrSVGFont).split(',');
if (!svgFontData.isEmpty())
{
text.SetSVGFontFamily(ConstFirst(svgFontData));
text.SetSVGFontFamily(ConstFirst<QString>(svgFontData));
if (svgFontData.size() > 1)
{

View File

@ -30,6 +30,7 @@
#include <QChar>
#include <QString>
#include <QStringView>
//---------------------------------------------------------------------------------------------------------------------
auto LatinWritingSystem(QChar c) -> bool