AndroidDevice: Update after the device manager has actually loaded

Change-Id: Ibab03ef09dea6312a0d4c812c819d847b1399298
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Daniel Teske
2013-04-10 12:40:35 +02:00
parent 5a28377786
commit f462e6f3ef
4 changed files with 12 additions and 2 deletions

View File

@@ -77,6 +77,9 @@ bool AndroidPlugin::initialize(const QStringList &arguments, QString *errorMessa
connect(ProjectExplorer::KitManager::instance(), SIGNAL(kitsLoaded()),
this, SLOT(kitsRestored()));
connect(ProjectExplorer::DeviceManager::instance(), SIGNAL(devicesLoaded()),
this, SLOT(updateDevice()));
return true;
}
@@ -89,6 +92,11 @@ void AndroidPlugin::kitsRestored()
this, SLOT(kitsRestored()));
}
void AndroidPlugin::updateDevice()
{
Internal::AndroidConfigurations::instance().updateAndroidDevice();
}
} // namespace Android
Q_EXPORT_PLUGIN(Android::AndroidPlugin)