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 compiler warnings: mismatched-tags
Freya Lupen36bb90fc88f3
diff --git a/libs/flake/KoShapeBulkActionLock.h b/libs/flake/KoShapeBulkActionLock.hindex 571d4feb91..92fa188fe9 100644--- a/libs/flake/KoShapeBulkActionLock.h+++ b/libs/flake/KoShapeBulkActionLock.h@@ -14,7 +14,7 @@#include <QRect>class KoShape;-class KoShapeBulkActionInterface;+struct KoShapeBulkActionInterface;class KRITAFLAKE_EXPORT KoShapeBulkActionLockAdapter {public:diff --git a/libs/flake/commands/KoShapeMergeTextPropertiesCommand.h b/libs/flake/commands/KoShapeMergeTextPropertiesCommand.hindex 80e7cd979a..342f9e9831 100644--- a/libs/flake/commands/KoShapeMergeTextPropertiesCommand.h+++ b/libs/flake/commands/KoShapeMergeTextPropertiesCommand.h@@ -30,7 +30,7 @@ public:int id() const override;bool mergeWith(const KUndo2Command *command) override;private:- class Private;+ struct Private;QScopedPointer<Private> d;};diff --git a/libs/flake/text/KoFontGlyphModel.h b/libs/flake/text/KoFontGlyphModel.hindex 7677745440..6f0d178461 100644--- a/libs/flake/text/KoFontGlyphModel.h+++ b/libs/flake/text/KoFontGlyphModel.h@@ -12,7 +12,7 @@#include "data/KoUnicodeBlockData.h"#include "kritaflake_export.h"-class KoOpenTypeFeatureInfo;+struct KoOpenTypeFeatureInfo;/*** @brief The KoFontGlyphModel class* Creates a tree model of all the glyphs in a given face.diff --git a/libs/flake/text/KoSvgTextLoader.h b/libs/flake/text/KoSvgTextLoader.hindex 5def2ff249..fec3e5ee20 100644--- a/libs/flake/text/KoSvgTextLoader.h+++ b/libs/flake/text/KoSvgTextLoader.h@@ -36,7 +36,7 @@ public:/// Set the textPath on the current node.void setTextPathOnCurrentNode(KoShape *s);private:- class Private;+ struct Private;QScopedPointer<Private> d;};diff --git a/libs/psdutils/cos/psd_text_data_converter.h b/libs/psdutils/cos/psd_text_data_converter.hindex d9b02a60f9..2a93a82979 100644--- a/libs/psdutils/cos/psd_text_data_converter.h+++ b/libs/psdutils/cos/psd_text_data_converter.h@@ -16,7 +16,7 @@class KoSvgTextShape;class KoColorSpace;class KoShape;-class KoCSSFontInfo;+struct KoCSSFontInfo;class KoSvgTextProperties;class QDomElement;diff --git a/plugins/dockers/textproperties/OpenTypeFeatureModel.h b/plugins/dockers/textproperties/OpenTypeFeatureModel.hindex c3398536fd..126c4b7442 100644--- a/plugins/dockers/textproperties/OpenTypeFeatureModel.h+++ b/plugins/dockers/textproperties/OpenTypeFeatureModel.h@@ -10,7 +10,7 @@#include <QSortFilterProxyModel>class KoSvgTextProperties;-class KoOpenTypeFeatureInfo;+struct KoOpenTypeFeatureInfo;class KoSvgTextPropertiesModel;// Filter SortProxy that filters by both name and tag.diff --git a/plugins/impex/tiff/kis_tiff_base_writer.h b/plugins/impex/tiff/kis_tiff_base_writer.hindex 742d61610d..dc90d258d5 100644--- a/plugins/impex/tiff/kis_tiff_base_writer.h+++ b/plugins/impex/tiff/kis_tiff_base_writer.h@@ -14,7 +14,7 @@#include <kis_types.h>-class KisTIFFOptions;+struct KisTIFFOptions;class KoColorSpace;class KisTIFFBaseWriter