diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp
index 9142231c5c74de7379cb2d1eea5182675df87240..d12ffd30601096021a5f02c491a3c5f669a5e09b 100644
--- a/src/plugins/qmljseditor/qmljseditor.cpp
+++ b/src/plugins/qmljseditor/qmljseditor.cpp
@@ -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();