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++
Don't emit bogus warning when saving guides to krz
Carsten Hartenfels0a71227a6408
diff --git a/plugins/impex/krz/krz_export.cpp b/plugins/impex/krz/krz_export.cppindex c6f29a367f..f1ae458890 100644--- a/plugins/impex/krz/krz_export.cpp+++ b/plugins/impex/krz/krz_export.cpp@@ -79,6 +79,10 @@ QString KrzExport::verify(const QString &fileName) constreturn error;}+bool KrzExport::exportSupportsGuides() const {+ return true;+}+#include <krz_export.moc>diff --git a/plugins/impex/krz/krz_export.h b/plugins/impex/krz/krz_export.hindex 282ef87acb..fe156c4cf5 100644--- a/plugins/impex/krz/krz_export.h+++ b/plugins/impex/krz/krz_export.h@@ -21,6 +21,7 @@ public:KisImportExportErrorCode convert(KisDocument *document, QIODevice *io, KisPropertiesConfigurationSP configuration = 0) override;void initializeCapabilities() override;QString verify(const QString &fileName) const override;+ bool exportSupportsGuides() const override;};#endif