diff --git a/src/plugins/qmljsinspector/qmljslivetextpreview.h b/src/plugins/qmljsinspector/qmljslivetextpreview.h
index ce6f5171d348f8fcdd47c597033090371ca6e1fe..1b190010587e74d84cfae00a01c8ca4622a51c43 100644
--- a/src/plugins/qmljsinspector/qmljslivetextpreview.h
+++ b/src/plugins/qmljsinspector/qmljslivetextpreview.h
@@ -48,7 +48,6 @@ signals:
 private slots:
     void changeSelectedElements(QList<int> offsets, const QString &wordAtCursor);
     void documentChanged(QmlJS::Document::Ptr doc);
-    void setEditor(Core::IEditor *editor);
     void updateDebugIds(const QDeclarativeDebugObjectReference &rootReference);
 
 private: