aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddevicedialog.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-04-11 13:31:01 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-05-08 11:03:38 +0200
commit7a91287c803eb2cf6b340b34034c33fd64a611aa (patch)
tree7452bb8c40412eecabee2dad82a8a7859fed9f86 /src/plugins/android/androiddevicedialog.h
parentacfe2a2771fa2b392709471eeb0a3e36f3cd775b (diff)
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>
Diffstat (limited to 'src/plugins/android/androiddevicedialog.h')
-rw-r--r--src/plugins/android/androiddevicedialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/android/androiddevicedialog.h b/src/plugins/android/androiddevicedialog.h
index 6cb4202ab7e..4f07b804afa 100644
--- a/src/plugins/android/androiddevicedialog.h
+++ b/src/plugins/android/androiddevicedialog.h
@@ -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;
};
}