diff options
author | hjk <hjk@qt.io> | 2018-03-06 17:14:43 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-03-07 16:07:42 +0000 |
commit | 8b92da254e974ec39c92b3ec7b30e1b603d8f74b (patch) | |
tree | 56a3fcd16df1defec3a7d747f5da67c88c8f941f /src/plugins/qmlprojectmanager/qmlprojectplugin.cpp | |
parent | 981846726b6824f420ed09012724f0d1a2caba9d (diff) | |
download | qt-creator-8b92da254e974ec39c92b3ec7b30e1b603d8f74b.tar.gz |
Rename IRunConfigurationFactory to RunConfigurationFactory
It's not an *I*nterface anymore
Also, remove the in-all-but-one case unused QObject parent and the
object name that was only there for debugging purposes. The class
type serves the same purpose in the debugger.
Change-Id: I0dafb01e6b4fd7c7df04a63aaa3ef3e4bd693f6f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectplugin.cpp')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectplugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp index 2877a027f7..87bce94ee9 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp @@ -47,7 +47,8 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage) { Q_UNUSED(errorMessage) - new Internal::QmlProjectRunConfigurationFactory(this); + auto rcFactory = new QmlProjectRunConfigurationFactory; + rcFactory->setParent(this); ProjectManager::registerProjectType<QmlProject>(QmlJSTools::Constants::QMLPROJECT_MIMETYPE); Core::FileIconProvider::registerIconOverlayForSuffix(":/qmlproject/images/qmlproject.png", "qmlproject"); |