From 06d47b930efb59a04eb1d6c400c75f5b9a1614fe Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 26 Jan 2018 12:28:04 +0100 Subject: [PATCH] Welcome: Don't add ProjectWelcomePage to global pool Not needed anymore after 4fad9dfa8f. Change-Id: I36820046fbab3db36d5a4b3928bbfa6b0cd18188 Reviewed-by: Eike Ziller --- src/plugins/projectexplorer/projectexplorer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 021dc315938..25e760867d2 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -535,7 +535,6 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er dd->m_welcomePage = new ProjectWelcomePage; connect(dd->m_welcomePage, &ProjectWelcomePage::manageSessions, dd, &ProjectExplorerPluginPrivate::showSessionManager); - addObject(dd->m_welcomePage); auto sessionManager = new SessionManager(this); @@ -1649,7 +1648,6 @@ ExtensionSystem::IPlugin::ShutdownFlag ProjectExplorerPlugin::aboutToShutdown() // Attempt to synchronously shutdown all run controls. // If that fails, fall back to asynchronous shutdown (Debugger run controls // might shutdown asynchronously). - removeObject(dd->m_welcomePage); delete dd->m_welcomePage; if (dd->m_activeRunControlCount == 0)