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.
This commit is contained in:
con
2009-05-28 11:55:15 +02:00
parent d9a65beacc
commit d3c3d90e6b

View File

@@ -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());