forked from qt-creator/qt-creator
QmlProjectManager: Use setup pattern for QmlProjectRunConfiguration
Change-Id: Ib69a09c65a4755312663286fddbd891c4f7c49ce Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -102,7 +102,6 @@ static void clearAlwaysOpenWithMode()
|
||||
class QmlProjectPluginPrivate
|
||||
{
|
||||
public:
|
||||
QmlProjectRunConfigurationFactory runConfigFactory;
|
||||
QPointer<QMessageBox> lastMessageBox;
|
||||
QdsLandingPage *landingPage = nullptr;
|
||||
QdsLandingPageWidget *landingPageWidget = nullptr;
|
||||
@@ -274,6 +273,8 @@ private:
|
||||
|
||||
void QmlProjectPlugin::initialize()
|
||||
{
|
||||
setupQmlProjectRunConfiguration();
|
||||
|
||||
d = new QmlProjectPluginPrivate;
|
||||
|
||||
if (!qmlDesignerEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user