Simplify Qt external editors (Linguist, Designer)

Remove unneeded extra classes, and unneeded parameters.

Change-Id: Ib4ceccd7d92bd8ca5de122e174f2579a2a8a9390
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Eike Ziller
2016-09-28 15:43:13 +02:00
parent 2f9a721fbf
commit 2cb3beab42
3 changed files with 76 additions and 106 deletions

View File

@@ -111,11 +111,8 @@ bool QmakeProjectManagerPlugin::initialize(const QStringList &arguments, QString
addAutoReleasedObject(new QmakeBuildConfigurationFactory);
addAutoReleasedObject(new DesktopQmakeRunConfigurationFactory);
if (Utils::HostOsInfo::isMacHost())
addAutoReleasedObject(new MacDesignerExternalEditor);
else
addAutoReleasedObject(new DesignerExternalEditor);
addAutoReleasedObject(new LinguistExternalEditor);
addAutoReleasedObject(ExternalQtEditor::createDesignerEditor());
addAutoReleasedObject(ExternalQtEditor::createLinguistEditor());
addAutoReleasedObject(new ProFileEditorFactory);