removed another unused class

Sat, 24 Mar 2018 13:55:08 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 24 Mar 2018 13:55:08 +0200
changeset 1334
3ab821604a70
parent 1333
ebcb0335d467
child 1335
5530161fcd47

removed another unused class

src/primitives.cpp file | annotate | diff | comparison | revisions
src/primitives.h file | annotate | diff | comparison | revisions
--- a/src/primitives.cpp	Sat Mar 24 13:53:56 2018 +0200
+++ b/src/primitives.cpp	Sat Mar 24 13:55:08 2018 +0200
@@ -828,24 +828,3 @@
 	// Defer to event loop, pick up the work later.
 	QMetaObject::invokeMethod (this, "work", Qt::QueuedConnection);
 }
-
-
-//
-// ---------------------------------------------------------------------------------------------------------------------
-//
-
-
-PrimitiveTreeItem::PrimitiveTreeItem (QTreeWidgetItem* parent, Primitive* info) :
-	QTreeWidgetItem (parent),
-	m_primitive (info) {}
-
-
-PrimitiveTreeItem::PrimitiveTreeItem (QTreeWidget* parent, Primitive* info) :
-	QTreeWidgetItem (parent),
-	m_primitive (info) {}
-
-
-Primitive* PrimitiveTreeItem::primitive() const
-{
-	return m_primitive;
-}
--- a/src/primitives.h	Sat Mar 24 13:53:56 2018 +0200
+++ b/src/primitives.h	Sat Mar 24 13:55:08 2018 +0200
@@ -152,14 +152,3 @@
 	QDirIterator* currentIterator = nullptr;
 	int m_basePathLength;
 };
-
-class PrimitiveTreeItem : public QTreeWidgetItem
-{
-public:
-	PrimitiveTreeItem (QTreeWidgetItem* parent, Primitive* info);
-	PrimitiveTreeItem (QTreeWidget* parent, Primitive* info);
-	Primitive* primitive() const;
-
-private:
-	Primitive* m_primitive;
-};

mercurial