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