forked from qt-creator/qt-creator
TextEditor/Vcs: Remove use of QObject parent for editor factories
Change-Id: I1b3d8b49649401c7bb03c0415f886530416afa2c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -8538,8 +8538,8 @@ public:
|
||||
|
||||
} /// namespace Internal
|
||||
|
||||
TextEditorFactory::TextEditorFactory(QObject *parent)
|
||||
: IEditorFactory(parent), d(new TextEditorFactoryPrivate(this))
|
||||
TextEditorFactory::TextEditorFactory()
|
||||
: d(new TextEditorFactoryPrivate(this))
|
||||
{
|
||||
setEditorCreator([]() { return new BaseTextEditor; });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user