diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h
index 20cdef395572c3ba9aea64e6e5defcc8dee8f014..5e6f4851437cd73cb2f758991b85767f948e8d38 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h
@@ -99,7 +99,7 @@ protected:
     void timerEvent(QTimerEvent *event);
     void otherPropertyChanged(const QmlObjectNode &);
     void transformChanged(const QmlObjectNode &qmlObjectNode);
-    void PropertyEditor::setupPane(const QString &typeName);
+    void setupPane(const QString &typeName);
     void stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &oldQmlModelState);
 
 private slots: