Commit dd8d7483 authored by Mathias Wein's avatar Mathias Wein

Fix build with Qt < 5.14

Qt mind change at its best...
parent 668efc57
......@@ -356,7 +356,11 @@ QList<KisMultiGridRhomb> KisMultigridPatternGenerator::generateRhombs(int lines,
QPointF intersect;
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
int intersection = l1.intersect(l2, &intersect);
#else
int intersection = l1.intersects(l2, &intersect);
#endif
if (intersection==QLineF::BoundedIntersection) {
QList<int> indices = getIndicesFromPoint(intersect, angles, offset );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment