forked from qt-creator/qt-creator
Vcs: Separate plugin and QObject parent roles for VcsSubmitEditorFactory
These are different when the factories are used as real members, as already done in Bazaar. Change-Id: I3c187896dcbacb5156be1543424ccacb9140a493 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -381,7 +381,7 @@ PerforcePluginPrivate::PerforcePluginPrivate()
|
||||
m_settings.fromSettings(ICore::settings());
|
||||
|
||||
// Editor factories
|
||||
new VcsSubmitEditorFactory(submitParameters, [] { return new PerforceSubmitEditor; }, this);
|
||||
new VcsSubmitEditorFactory(submitParameters, [] { return new PerforceSubmitEditor; }, this, this);
|
||||
|
||||
const auto describeFunc = [this](const QString &source, const QString &n) {
|
||||
describe(source, n);
|
||||
|
||||
Reference in New Issue
Block a user