summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-03-06 17:14:43 +0100
committerhjk <hjk@qt.io>2018-03-07 16:07:42 +0000
commit8b92da254e974ec39c92b3ec7b30e1b603d8f74b (patch)
tree56a3fcd16df1defec3a7d747f5da67c88c8f941f /src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
parent981846726b6824f420ed09012724f0d1a2caba9d (diff)
downloadqt-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.cpp3
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");