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++
Add extra warning to KoUnicodeBlockData.cpp and remove commented out code.
Wolthera van Hövell tot Westerflierd3b24e5711c5
diff --git a/libs/flake/text/data/KoUnicodeBlockData.cpp b/libs/flake/text/data/KoUnicodeBlockData.cppindex 4ec9ccb903..55b3bfa228 100644--- a/libs/flake/text/data/KoUnicodeBlockData.cpp+++ b/libs/flake/text/data/KoUnicodeBlockData.cpp@@ -2,7 +2,8 @@* SPDX-FileCopyrightText: 2025 Wolthera van Hövell tot Westerflier <[email protected]>** SPDX-License-Identifier: GPL-2.0-or-later- * Generated from https://www.unicode.org/Public/16.0.0/ucd/Blocks.txt+ * This file is AUTOGENERATED by generateKoUnicodeBlockData.py from:+ * https://www.unicode.org/Public/16.0.0/ucd/Blocks.txt*/#include "KoUnicodeBlockData.h"diff --git a/libs/flake/text/data/generateKoUnicodeBlockData.py b/libs/flake/text/data/generateKoUnicodeBlockData.pyindex e551165dce..353a590e2d 100644--- a/libs/flake/text/data/generateKoUnicodeBlockData.py+++ b/libs/flake/text/data/generateKoUnicodeBlockData.py@@ -12,8 +12,10 @@ import urllib.requestoutPath = "KoUnicodeBlockData.cpp"outFile = open(outPath,'w');+url = 'https://www.unicode.org/Public/16.0.0/ucd/Blocks.txt';+blocks = []-with urllib.request.urlopen('https://www.unicode.org/Public/16.0.0/ucd/Blocks.txt') as f:+with urllib.request.urlopen(url) as f:blocksFile = f.read().decode('utf-8').split("\n")for line in blocksFile:if line.startswith("#") or len(line) == 0:@@ -33,7 +35,8 @@ outFile.writelines(, "\n * SPDX-FileCopyrightText: 2025 Wolthera van Hövell tot Westerflier <[email protected]>", "\n *", "\n * SPDX-License-Identifier: GPL-2.0-or-later"- , "\n * Generated from https://www.unicode.org/Public/16.0.0/ucd/Blocks.txt"+ , "\n * This file is AUTOGENERATED by generateKoUnicodeBlockData.py from:"+ , "\n * ", url, "\n */"])outFile.writelines([diff --git a/plugins/tools/svgtexttool/glyphpalette/SvgTextLabel.cpp b/plugins/tools/svgtexttool/glyphpalette/SvgTextLabel.cppindex 52ea694eaa..3454fe7c3d 100644--- a/plugins/tools/svgtexttool/glyphpalette/SvgTextLabel.cpp+++ b/plugins/tools/svgtexttool/glyphpalette/SvgTextLabel.cpp@@ -293,7 +293,6 @@ void SvgTextLabel::componentComplete()d->shapePainter.reset(new KoShapePainter());d->shapePainter->setShapes({d->shape.data()});}- //d->shape->setRelayoutBlocked(false);}