Revert "ProjectTree: Add per-node "Expand" and "Collapse" actions"

This reverts commit a5785e678e.
These actions are already available from the standard tree view UI...

Change-Id: If8dfe755ee450a89588ec944ae6ff7601250cdde
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-12-20 10:41:57 +01:00
parent a5785e678e
commit 20a5aa889f
5 changed files with 3 additions and 58 deletions

View File

@@ -430,16 +430,6 @@ void ProjectTreeWidget::setAutoSynchronization(bool sync)
syncFromDocumentManager();
}
void ProjectTreeWidget::collapseCurrentNode()
{
m_view->collapse(m_view->currentIndex());
}
void ProjectTreeWidget::expandCurrentNode()
{
m_view->expand(m_view->currentIndex());
}
void ProjectTreeWidget::collapseAll()
{
m_view->collapseAll();