Commit d3c3d90e authored by con's avatar con
Browse files

Actually QtVersionManager::instance() *was* working.

But the variable was set at some place in Qt4ProjectManagerPlugin.
Do it all in QtVersionManager to avoid exactly the confusion that
happened.
parent d9a65bea
......@@ -101,9 +101,7 @@ bool Qt4ProjectManagerPlugin::initialize(const QStringList &arguments, QString *
m_projectExplorer = ProjectExplorer::ProjectExplorerPlugin::instance();
Core::ActionManager *am = core->actionManager();
QtVersionManager::m_self = new QtVersionManager();
addAutoReleasedObject(QtVersionManager::m_self);
addAutoReleasedObject(new QtVersionManager());
addAutoReleasedObject(new QtOptionsPage());
......
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