Android: Fix blocking the ui on adding an avd

Task-number: QTCREATORBUG-10601
Change-Id: I3d1fef8a44f434f7eb484f538863c436b4e3a21c
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Daniel Teske
2014-04-11 13:31:01 +02:00
parent acfe2a2771
commit 7a91287c80
6 changed files with 111 additions and 30 deletions

View File

@@ -34,6 +34,7 @@
#include <QVector>
#include <QDialog>
#include <QFutureWatcher>
QT_BEGIN_NAMESPACE
class QModelIndex;
@@ -63,11 +64,13 @@ private slots:
void createAvd();
void clickedOnView(const QModelIndex &idx);
void showHelp();
void avdAdded();
private:
AndroidDeviceModel *m_model;
Ui::AndroidDeviceDialog *m_ui;
int m_apiLevel;
QString m_abi;
QFutureWatcher<AndroidConfig::CreateAvdInfo> m_futureWatcher;
};
}