forked from qt-creator/qt-creator
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:
@@ -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());
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user