--- a/src/glrenderer.h Thu Feb 23 20:03:31 2017 +0200 +++ b/src/glrenderer.h Thu Feb 23 20:06:22 2017 +0200 @@ -83,7 +83,6 @@ GLCamera& currentCamera(); const GLCamera& currentCamera() const; void drawGLScene(); - void forgetObject(LDObject* obj); void highlightCursorObject(); void initGLData(); bool isPicking() const; @@ -173,6 +172,7 @@ void drawVbos (VboClass surface, VboSubclass colors, GLenum type); void zoomToFit(); void zoomAllToFit(); + Q_SLOT void removeObject(LDObject* object); private slots: void showCameraIconTooltip();