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

Make perspective transform build under Qt5 again

Carsten Hartenfels3ee2270d8ead
diff --git a/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp b/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp
index 5780bec448..a9ba4771e1 100644
--- a/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp
+++ b/plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp
@@ -690,7 +690,7 @@ void KisPerspectiveTransformStrategy::Private::recalculateTransformations()
imageTooBig = false;
{
- QList<QPointF> points;
+ QVector<QPointF> points;
points << transaction.originalRect().topLeft();
points << transaction.originalRect().topRight();
points << transaction.originalRect().bottomRight();