Commit d39bd871 authored by Tobias Hunger's avatar Tobias Hunger

PE: Remove unnecessary member

Change-Id: I589b78bbaea2c94506fa1ae8877f0523e42f0ad2
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent a1c504e8
......@@ -238,7 +238,6 @@ struct ProjectExplorerPluginPrivate {
Core::IMode *m_projectsMode;
ToolChainManager *m_toolChainManager;
TaskHub *m_taskHub;
};
......@@ -247,8 +246,7 @@ ProjectExplorerPluginPrivate::ProjectExplorerPluginPrivate() :
m_currentNode(0),
m_delayedRunConfiguration(0),
m_runMode(NoRunMode),
m_projectsMode(0),
m_toolChainManager(0)
m_projectsMode(0)
{
}
......@@ -286,7 +284,6 @@ ProjectExplorerPlugin::~ProjectExplorerPlugin()
{
removeObject(d->m_welcomePage);
delete d->m_welcomePage;
delete d->m_toolChainManager;
removeObject(this);
delete d;
}
......@@ -325,8 +322,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
#endif
addAutoReleasedObject(new Internal::ClangToolChainFactory);
d->m_toolChainManager = new ToolChainManager(this);
new ToolChainManager(this);
addAutoReleasedObject(new Internal::ToolChainOptionsPage);
d->m_taskHub = new TaskHub;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment