Fix build.

This commit is contained in:
Roman Telezhynskyi 2023-06-24 13:04:01 +03:00
parent e85c548b81
commit 61bdf7cd82

View File

@ -925,7 +925,7 @@ auto VTextManager::BreakTextIntoLines(const QString &text, const QFont &font, in
currentLineWidth = 0; currentLineWidth = 0;
// Insert the item after the current item // Insert the item after the current item
iterator.insert(ConstLast(subWords)); iterator.insert(ConstLast<QString>(subWords));
iterator.previous(); iterator.previous();
} }
} }
@ -1025,7 +1025,7 @@ auto VTextManager::BreakTextIntoLines(const QString &text, const VSvgFont &font,
currentLineWidth = 0; currentLineWidth = 0;
// Insert the item after the current item // Insert the item after the current item
iterator.insert(ConstLast(subWords)); iterator.insert(ConstLast<QString>(subWords));
iterator.previous(); iterator.previous();
} }
} }