--- a/src/hierarchyelement.h Thu Feb 15 14:59:04 2018 +0200 +++ b/src/hierarchyelement.h Thu Feb 22 11:41:58 2018 +0200 @@ -40,8 +40,8 @@ public: HierarchyElement (QObject* parent); - const QSet<LDObject*>& selectedObjects(); - LDDocument* currentDocument(); + QSet<LDObject *> selectedObjects(); + LDDocument* currentDocument() const; GuiUtilities* guiUtilities() const; PrimitiveManager* primitives(); Grid* grid() const;