Skip to content

armgit / krita

Public Imported from GitHub
0

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 Qt6 build

Freya Lupena11121827f5a
diff --git a/libs/flake/text/KoSvgTextShape_p.h b/libs/flake/text/KoSvgTextShape_p.h
index 8dac71be1d..d37d205d04 100644
--- a/libs/flake/text/KoSvgTextShape_p.h
+++ b/libs/flake/text/KoSvgTextShape_p.h
@@ -951,7 +951,7 @@ public:
QVector<KoSvgText::CharTransformation> &resolvedTransforms,
bool &inTextPath) {
- inTextPath = (current->textPath);
+ inTextPath = (!current->textPath.isNull());
auto base = current.base();
base--;
if(base != siblingEnd(base)) {