forked from qt-creator/qt-creator
QmlJSEditor: Modernize
modernize-* Change-Id: I4dceb82c3904069a0d9848b2af61122d9282cb36 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ QmlJSOutlineTreeView::QmlJSOutlineTreeView(QWidget *parent) :
|
||||
|
||||
setRootIsDecorated(false);
|
||||
|
||||
Utils::AnnotatedItemDelegate *itemDelegate = new Utils::AnnotatedItemDelegate(this);
|
||||
auto itemDelegate = new Utils::AnnotatedItemDelegate(this);
|
||||
itemDelegate->setDelimiter(QLatin1String(" "));
|
||||
itemDelegate->setAnnotationRole(QmlOutlineModel::AnnotationRole);
|
||||
setItemDelegateForColumn(0, itemDelegate);
|
||||
|
||||
Reference in New Issue
Block a user