Thu, 09 Feb 2017 01:00:31 +0200
Removed some unused code
src/ldDocument.cpp | file | annotate | diff | comparison | revisions | |
src/ldDocument.h | file | annotate | diff | comparison | revisions |
--- a/src/ldDocument.cpp Thu Feb 09 00:52:23 2017 +0200 +++ b/src/ldDocument.cpp Thu Feb 09 01:00:31 2017 +0200 @@ -298,17 +298,6 @@ // ============================================================================= // -void LDDocument::addObjects (const LDObjectList& objects) -{ - for (LDObject* object : objects) - { - if (object) - addObject (object); - } -} - -// ============================================================================= -// void LDDocument::insertObject (int pos, LDObject* obj) { Model::insertObject(pos, obj);
--- a/src/ldDocument.h Thu Feb 09 00:52:23 2017 +0200 +++ b/src/ldDocument.h Thu Feb 09 01:00:31 2017 +0200 @@ -57,14 +57,12 @@ ~LDDocument(); void addHistoryStep(); - void addObjects (const LDObjectList& objs); void addToHistory (AbstractHistoryEntry* entry); void addToSelection (LDObject* obj); void clearHistory(); void clearSelection(); void close(); QString defaultName() const; - void forgetObject (LDObject* obj); QString fullPath(); QString getDisplayName(); const QSet<LDObject*>& getSelection() const;