summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/plaintexteditorfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/plaintexteditorfactory.h')
-rw-r--r--src/plugins/texteditor/plaintexteditorfactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/plaintexteditorfactory.h b/src/plugins/texteditor/plaintexteditorfactory.h
index 14ca8632ec..f70111b8f0 100644
--- a/src/plugins/texteditor/plaintexteditorfactory.h
+++ b/src/plugins/texteditor/plaintexteditorfactory.h
@@ -55,7 +55,7 @@ public:
Core::Id id() const;
QString displayName() const;
- Core::IFile *open(const QString &fileName);
+ Core::IDocument *open(const QString &fileName);
Core::IEditor *createEditor(QWidget *parent);
TextEditor::TextEditorActionHandler *actionHandler() const { return m_actionHandler; }