forked from qt-creator/qt-creator
QmlOutline: Don't decorate root item
Saves some pixels, and there is little use in collapsing the complete tree.
This commit is contained in:
@@ -78,6 +78,8 @@ QmlJSOutlineTreeView::QmlJSOutlineTreeView(QWidget *parent) :
|
|||||||
setDropIndicatorShown(true);
|
setDropIndicatorShown(true);
|
||||||
setDragDropMode(InternalMove);
|
setDragDropMode(InternalMove);
|
||||||
|
|
||||||
|
setRootIsDecorated(false);
|
||||||
|
|
||||||
QmlJSOutlineItemDelegate *itemDelegate = new QmlJSOutlineItemDelegate(this);
|
QmlJSOutlineItemDelegate *itemDelegate = new QmlJSOutlineItemDelegate(this);
|
||||||
setItemDelegateForColumn(0, itemDelegate);
|
setItemDelegateForColumn(0, itemDelegate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user