Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix missing QVector templates in KoSvgTextShape
Wolthera van Hövell tot Westerflier2c00947d8c8e
diff --git a/libs/flake/text/KoSvgTextShape.cpp b/libs/flake/text/KoSvgTextShape.cppindex a3f35e6542..ba1da494de 100644--- a/libs/flake/text/KoSvgTextShape.cpp+++ b/libs/flake/text/KoSvgTextShape.cpp@@ -1055,8 +1055,8 @@ QVector<int> findTreeIndexForPropertyIdImpl(KisForest<KoSvgTextContentElement>::if (child->properties.hasProperty(propertyId)) {return QVector<int>({count});} else if (KisForestDetail::childBegin(child) != KisForestDetail::childEnd(child)) {- QVector current = QVector<int>({count});- QVector childIndex = findTreeIndexForPropertyIdImpl(child, propertyId);+ QVector<int> current = QVector<int>({count});+ QVector<int> childIndex = findTreeIndexForPropertyIdImpl(child, propertyId);if (!childIndex.isEmpty()) {current.append(childIndex);return current;