diff --git a/src/libs/vlayout/vlayoutpiece.cpp b/src/libs/vlayout/vlayoutpiece.cpp index 7d61f7c68..220bad840 100644 --- a/src/libs/vlayout/vlayoutpiece.cpp +++ b/src/libs/vlayout/vlayoutpiece.cpp @@ -513,7 +513,7 @@ QVector VLayoutPiece::Map(QVector points) const if (d->mirror) { #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) - auto list = QList(p.begin(), p.end()); + auto list = QList(points.begin(), points.end()); #else QList list = points.toList(); #endif