forked from qt-creator/qt-creator
TreeModel: Simplify indexFromItem()
Change-Id: Ief7f120ef27eb43746826da7c771b5f9a3f7ce8f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -202,9 +202,6 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
QModelIndex indexFromItemHelper(const TreeItem *needle,
|
||||
TreeItem *parentItem, const QModelIndex &parentIndex) const;
|
||||
|
||||
TreeItem *m_root; // Owned.
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user