forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user