--- a/src/hierarchyelement.cpp Thu Feb 15 14:59:04 2018 +0200 +++ b/src/hierarchyelement.cpp Thu Feb 22 11:41:58 2018 +0200 @@ -52,13 +52,13 @@ } -LDDocument* HierarchyElement::currentDocument() +LDDocument* HierarchyElement::currentDocument() const { return m_window->currentDocument(); } -const QSet<LDObject*>& HierarchyElement::selectedObjects() +QSet<LDObject*> HierarchyElement::selectedObjects() { return m_window->selectedObjects(); }