--- a/src/glrenderer.h Thu Feb 15 10:24:39 2018 +0200 +++ b/src/glrenderer.h Thu Feb 15 11:34:04 2018 +0200 @@ -72,7 +72,7 @@ void setBackground(); void setCamera(Camera cam); QPen textPen() const; - void setSelection(const QItemSelection& selection); + void setSelectionModel(QItemSelectionModel* selectionModel); static const QPen thinBorderPen; static const GLRotationMatrix topCameraMatrix; @@ -141,7 +141,6 @@ QColor m_backgroundColor; GLuint m_axesVbo; GLuint m_axesColorVbo; - QItemSelection m_selectedItems; void calcCameraIcons(); void drawGLScene();