forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user