summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljseditorfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmljseditor/qmljseditorfactory.h')
-rw-r--r--src/plugins/qmljseditor/qmljseditorfactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljseditorfactory.h b/src/plugins/qmljseditor/qmljseditorfactory.h
index f5fa8e6c5f..92a5b60cee 100644
--- a/src/plugins/qmljseditor/qmljseditorfactory.h
+++ b/src/plugins/qmljseditor/qmljseditorfactory.h
@@ -51,7 +51,7 @@ public:
QStringList mimeTypes() const;
Core::Id id() const;
QString displayName() const;
- Core::IFile *open(const QString &fileName);
+ Core::IDocument *open(const QString &fileName);
Core::IEditor *createEditor(QWidget *parent);
private: