diff options
author | hjk <hjk121@nokiamail.com> | 2014-08-27 11:19:04 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-08-27 12:35:32 +0200 |
commit | 7b67701dea2aa6ff046bcffdbec70f7fd941599e (patch) | |
tree | c3c22ed73e481e07ec4bdc8bc02deadc5b5016ab /src/plugins/texteditor/plaintexteditorfactory.h | |
parent | 59f1ffd9d24726a22f135fc66f9d073e38575141 (diff) |
TextEditor: Fix failure in cpptools autotest
The issue only appeared in the test due to the different
editor construction there. Now use the same factory access.
Change-Id: I3a8534fbe683bb88f04ad68850cecdfe32b11433
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditorfactory.h')
-rw-r--r-- | src/plugins/texteditor/plaintexteditorfactory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/texteditor/plaintexteditorfactory.h b/src/plugins/texteditor/plaintexteditorfactory.h index 3ade4c07d56..8a90f1fc81d 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.h +++ b/src/plugins/texteditor/plaintexteditorfactory.h @@ -33,17 +33,17 @@ #include <texteditor/basetexteditor.h> namespace TextEditor { -namespace Internal { -class PlainTextEditorFactory : public TextEditor::BaseTextEditorFactory +class TEXTEDITOR_EXPORT PlainTextEditorFactory : public TextEditor::BaseTextEditorFactory { Q_OBJECT public: PlainTextEditorFactory(); + static PlainTextEditorFactory *instance(); + static BaseTextEditor *createPlainTextEditor(); }; -} // namespace Internal } // namespace TextEditor #endif // PLAINTEXTEDITORFACTORY_H |