diff options
author | hjk <hjk@qt.io> | 2020-02-05 15:50:46 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-02-06 09:47:00 +0000 |
commit | ca89d1b8a62c800f9a336685a353768a90fd303d (patch) | |
tree | b76583cd9c346b381a9bdda4b1a9b4719af268c9 /src/plugins/diffeditor/diffeditorfactory.cpp | |
parent | 3f17fa4a12516b313c3a877aaae9d64e821a9999 (diff) | |
download | qt-creator-ca89d1b8a62c800f9a336685a353768a90fd303d.tar.gz |
DiffEditor: Pimpl plugin
The standard pattern, and allows to drop the QObject parent on
the editor factory which gets into the way of de-QObject-ifing
the IEditorFactory hierarchy.
Change-Id: I5c6a50f8075a99592ed4459b417ca8ba7471ae96
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/diffeditor/diffeditorfactory.cpp')
-rw-r--r-- | src/plugins/diffeditor/diffeditorfactory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/diffeditor/diffeditorfactory.cpp b/src/plugins/diffeditor/diffeditorfactory.cpp index c02199c629..12a1d58ff9 100644 --- a/src/plugins/diffeditor/diffeditorfactory.cpp +++ b/src/plugins/diffeditor/diffeditorfactory.cpp @@ -36,8 +36,7 @@ namespace DiffEditor { namespace Internal { -DiffEditorFactory::DiffEditorFactory(QObject *parent) - : IEditorFactory(parent) +DiffEditorFactory::DiffEditorFactory() { setId(Constants::DIFF_EDITOR_ID); setDisplayName(QCoreApplication::translate("DiffEditorFactory", Constants::DIFF_EDITOR_DISPLAY_NAME)); |