Commit 0ff9a47c authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlOutline: Don't decorate root item

Saves some pixels, and there is little use in collapsing the complete
parent ad322e9b
...@@ -78,6 +78,8 @@ QmlJSOutlineTreeView::QmlJSOutlineTreeView(QWidget *parent) : ...@@ -78,6 +78,8 @@ QmlJSOutlineTreeView::QmlJSOutlineTreeView(QWidget *parent) :
setDropIndicatorShown(true); setDropIndicatorShown(true);
setDragDropMode(InternalMove); setDragDropMode(InternalMove);
QmlJSOutlineItemDelegate *itemDelegate = new QmlJSOutlineItemDelegate(this); QmlJSOutlineItemDelegate *itemDelegate = new QmlJSOutlineItemDelegate(this);
setItemDelegateForColumn(0, itemDelegate); setItemDelegateForColumn(0, itemDelegate);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment