QmlTextEditor: Remove root decoration from outline combo box

This commit is contained in:
Kai Koehne
2010-07-12 15:49:03 +02:00
parent 791fe66736
commit 5e3bc834f4

View File

@@ -1006,6 +1006,7 @@ void QmlJSTextEditor::createToolBar(QmlJSEditorEditable *editable)
QTreeView *treeView = new QTreeView;
treeView->header()->hide();
treeView->setItemsExpandable(false);
treeView->setRootIsDecorated(false);
m_methodCombo->setView(treeView);
treeView->expandAll();