diff options
author | Daniel Teske <[email protected]> | 2013-04-10 12:40:35 +0200 |
---|---|---|
committer | Daniel Teske <[email protected]> | 2013-04-11 11:39:22 +0200 |
commit | f462e6f3ef1d8ff653ada8a7fbe15c5e6402c77d (patch) | |
tree | d3ae1411a2ae4ce2efcee425711c342da67124b8 /src/plugins/android/androidplugin.cpp | |
parent | 5a28377786be5eb25b16430c9e18fc8dfbea5549 (diff) |
AndroidDevice: Update after the device manager has actually loaded
Change-Id: Ibab03ef09dea6312a0d4c812c819d847b1399298
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/android/androidplugin.cpp')
-rw-r--r-- | src/plugins/android/androidplugin.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/android/androidplugin.cpp b/src/plugins/android/androidplugin.cpp index b762f10db1f..e3477a30ca0 100644 --- a/src/plugins/android/androidplugin.cpp +++ b/src/plugins/android/androidplugin.cpp @@ -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) |