diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp
index ac5102312daa17354745aa07a9e618b6f4ffae54..39d897a2360ca80c418e0e6cc512d3129b20b3d7 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp
@@ -61,7 +61,6 @@ enum {
     debug = false
 };
 
-const int collapseButtonOffset = 114;
 namespace QmlDesigner {
 
 PropertyEditorView::PropertyEditorView(QWidget *parent) :