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++
Qt6: get strings instead of deprecated stringrefs
Halla Remptc97fd5e09d07
diff --git a/libs/flake/tests/TestSvgText.cpp b/libs/flake/tests/TestSvgText.cppindex a213eb72b0..cf653992fc 100644--- a/libs/flake/tests/TestSvgText.cpp+++ b/libs/flake/tests/TestSvgText.cpp@@ -1058,8 +1058,8 @@ void TestSvgText::testTrailingWhitespace()for (auto itL = linkChunk.constBegin(); itL != linkChunk.constEnd(); ++itL) {for (auto itA = chunkA.constBegin(); itA != chunkA.constEnd(); ++itA) {for (auto itB = chunkB.constBegin(); itB != chunkB.constEnd(); ++itB) {- if (itA->rightRef(1) != " " &&- itB->leftRef(1) != " " &&+ if (itA->right(1) != " " &&+ itB->left(1) != " " &&*itL != " " &&*itL != linkChunk.last()) continue;