OverViewComboBox: Remove ::sync method, call expandAll() directly

Change-Id: Ia30801e85bffc53434048189150ed2b09a09d7ae
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Daniel Teske
2014-04-24 12:30:37 +02:00
parent 13af3e9d1e
commit ff7cf1534b

View File

@@ -106,11 +106,6 @@ public:
setRootIsDecorated(false);
}
void sync()
{
expandAll();
}
void adjustWidth(int width)
{
setMaximumWidth(width);
@@ -1081,7 +1076,7 @@ void CPPEditorWidget::updateOutlineNow()
m_outlineModel->rebuild(document);
OverviewTreeView *treeView = static_cast<OverviewTreeView *>(m_outlineCombo->view());
treeView->sync();
treeView->expandAll();
updateOutlineIndexNow();
}