diff -r 845c340fe71b -r 568fcfc6da71 src/lddocument.h --- a/src/lddocument.h Sat Mar 24 10:51:20 2018 +0200 +++ b/src/lddocument.h Sat Mar 24 11:05:40 2018 +0200 @@ -18,15 +18,12 @@ #pragma once #include -#include "main.h" -#include "linetypes/modelobject.h" -#include "editHistory.h" -#include "glShared.h" #include "model.h" #include "hierarchyelement.h" struct LDGLData; class DocumentManager; +class EditHistory; struct LDHeader { @@ -146,12 +143,6 @@ QSet m_vertices; DocumentManager* m_manager; - template - void addToHistory(Args&&... args) - { - m_history->add(args...); - } - private slots: void objectChanged(const LDObjectState &before, const LDObjectState &after); void handleNewObject(const QModelIndex& index);