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>
This commit is contained in:
hjk
2014-08-27 11:19:04 +02:00
parent 59f1ffd9d2
commit 7b67701dea
7 changed files with 38 additions and 37 deletions

View File

@@ -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