forked from qt-creator/qt-creator
Device Support: Fix device restoring.
The S60Manager instantiated the device manager, which then tried to restore the devices with not all factories being present, resulting in most saved devices being lost. That instantiation is now moved to a point in time when all plugins have been initialized. Change-Id: I15145bddde89dd6109e092a7b8e03bb92934a29a Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
e59d06ba00
commit
53702d5dcc
@@ -293,6 +293,12 @@ bool Qt4ProjectManagerPlugin::initialize(const QStringList &arguments, QString *
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Qt4ProjectManagerPlugin::delayedInitialize()
|
||||
{
|
||||
S60Manager::instance()->addDevice();
|
||||
return true;
|
||||
}
|
||||
|
||||
void Qt4ProjectManagerPlugin::extensionsInitialized()
|
||||
{
|
||||
m_qt4ProjectManager->init();
|
||||
|
||||
Reference in New Issue
Block a user