--- a/src/editmodes/abstractEditMode.cpp Wed Feb 17 03:24:07 2016 +0200 +++ b/src/editmodes/abstractEditMode.cpp Wed Feb 17 19:54:21 2016 +0200 @@ -103,7 +103,7 @@ Vertex cursorPosition = renderer()->convert2dTo3d (data.ev->pos(), false); QPoint cursorPosition2D (data.ev->pos()); const Axis relZ = renderer()->getRelativeZ(); - QVector<Vertex> vertices = renderer()->document()->inlineVertices(); + QList<Vertex> vertices = renderer()->document()->inlineVertices().toList(); // Sort the vertices in order of distance to camera std::sort (vertices.begin(), vertices.end(), [&](const Vertex& a, const Vertex& b) -> bool