forked from qt-creator/qt-creator
Android: Create AVD: Show error messages
The check for errors was wrong and didn't even get the right string. Fix that, and also use a QMessageBox for the errors. Task-number: QTCREATORBUG-11729 Change-Id: I9aecd1dcbeabb35d60833419f7997ea4c704d65b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
@@ -117,7 +117,7 @@ public:
|
||||
|
||||
|
||||
QString createAVD(QWidget *parent, int minApiLevel = 0, QString targetArch = QString()) const;
|
||||
QString createAVD(const QString &target, const QString &name, const QString &abi, int sdcardSize) const;
|
||||
QString createAVD(const QString &target, const QString &name, const QString &abi, int sdcardSize, QString *error) const;
|
||||
bool removeAVD(const QString &name) const;
|
||||
|
||||
QVector<AndroidDeviceInfo> connectedDevices(QString *error = 0) const;
|
||||
|
||||
Reference in New Issue
Block a user