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++

Properly export QDebug operator for KisAlgebra2D::VectorPath

Dmitry Kazakov9ab54c85d4ab
diff --git a/libs/global/kis_algebra_2d.h b/libs/global/kis_algebra_2d.h
index cb4839b0f8..c8c9fad99b 100644
--- a/libs/global/kis_algebra_2d.h
+++ b/libs/global/kis_algebra_2d.h
@@ -691,8 +691,8 @@ private:
};
-QDebug operator<<(QDebug debug, const VectorPath &path);
-QDebug operator<<(QDebug debug, const VectorPath::VectorPathPoint &point);
+QDebug KRITAGLOBAL_EXPORT operator<<(QDebug debug, const VectorPath &path);
+QDebug KRITAGLOBAL_EXPORT operator<<(QDebug debug, const VectorPath::VectorPathPoint &point);
QVector<QPoint> KRITAGLOBAL_EXPORT sampleRectWithPoints(const QRect &rect);