There is no dependency, so make the runtime manager an real singelton.

Reviewed-by: ck
This commit is contained in:
kh1
2010-05-25 13:43:16 +02:00
parent 070f4df485
commit 745345e347
6 changed files with 17 additions and 28 deletions

View File

@@ -153,7 +153,7 @@ bool Qt4ProjectManagerPlugin::initialize(const QStringList &arguments, QString *
addAutoReleasedObject(new LinguistExternalEditor);
addAutoReleasedObject(new S60Manager);
addAutoReleasedObject(m_maemoManager = new MaemoManager);
addAutoReleasedObject(new MaemoManager);
new ProFileCacheManager(this);
@@ -228,7 +228,6 @@ bool Qt4ProjectManagerPlugin::initialize(const QStringList &arguments, QString *
void Qt4ProjectManagerPlugin::extensionsInitialized()
{
m_qt4ProjectManager->init();
m_maemoManager->init(); // depends on the Qt4ProjectManager
}
void Qt4ProjectManagerPlugin::updateContextMenu(Project *project,