--- a/src/glcompiler.h Thu Feb 15 14:59:04 2018 +0200 +++ b/src/glcompiler.h Thu Feb 22 11:41:58 2018 +0200 @@ -38,7 +38,8 @@ void prepareVBO (int vbonum); GLuint vbo (int vbonum) const; int vboSize (int vbonum) const; - void setSelectionModel(QItemSelectionModel* selectionModel); + QItemSelectionModel* selectionModel() const; + void setSelectionModel(QItemSelectionModel* _selectionModel); static int vboNumber (VboClass surface, VboSubclass complement); @@ -77,7 +78,7 @@ bool m_vboChanged[NumVbos] = {true}; int m_vboSizes[NumVbos] = {0}; GLRenderer* m_renderer; - QItemSelectionModel* selectionModel = nullptr; + QItemSelectionModel* _selectionModel = nullptr; private slots: void handleRowInsertion(const QModelIndex&, int first, int last);