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:
@@ -256,7 +256,7 @@ MercurialPluginPrivate::MercurialPluginPrivate()
|
||||
for (auto &editor : editorParameters)
|
||||
new VcsEditorFactory(&editor, widgetCreator, describeFunc, this);
|
||||
|
||||
new VcsSubmitEditorFactory(submitEditorParameters, [] { return new CommitEditor; }, this);
|
||||
new VcsSubmitEditorFactory(submitEditorParameters, [] { return new CommitEditor; }, this, this);
|
||||
|
||||
const QString prefix = QLatin1String("hg");
|
||||
m_commandLocator = new Core::CommandLocator("Mercurial", prefix, prefix, this);
|
||||
|
||||
Reference in New Issue
Block a user