TreeModel: Remove now-unused TreeItem::setFlags() and m_flags

Change-Id: I1bae545b96c274a74cd6491b33ba138be489086f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-07-29 15:20:28 +02:00
committed by hjk
parent b57faed16d
commit c3d3589c0f
2 changed files with 2 additions and 9 deletions

View File

@@ -64,7 +64,6 @@ public:
TreeItem *lastChild() const;
int level() const;
void setFlags(Qt::ItemFlags flags);
int childCount() const { return m_children.size(); }
TreeItem *childAt(int index) const;
QVector<TreeItem *> children() const { return m_children; }
@@ -137,7 +136,6 @@ private:
TreeItem *m_parent; // Not owned.
BaseTreeModel *m_model; // Not owned.
Qt::ItemFlags m_flags;
protected:
QVector<TreeItem *> m_children; // Owned.