summaryrefslogtreecommitdiff
path: root/src/plugins/android/androiddevicedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/androiddevicedialog.cpp')
-rw-r--r--src/plugins/android/androiddevicedialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/android/androiddevicedialog.cpp b/src/plugins/android/androiddevicedialog.cpp
index 69025eaa65..519f125f45 100644
--- a/src/plugins/android/androiddevicedialog.cpp
+++ b/src/plugins/android/androiddevicedialog.cpp
@@ -439,19 +439,19 @@ AndroidDeviceDialog::AndroidDeviceDialog(int apiLevel, const QString &abi, Andro
+ tr("No Device Found") + QLatin1String("</span></p><br/>")
+ msgConnect() + QLatin1String("<br/>")
+ msgAdbListDevices());
- connect(m_ui->missingLabel, SIGNAL(linkActivated(QString)),
- this, SLOT(showHelp()));
+ connect(m_ui->missingLabel, &QLabel::linkActivated,
+ this, &AndroidDeviceDialog::showHelp);
- connect(m_ui->refreshDevicesButton, SIGNAL(clicked()),
- this, SLOT(refreshDeviceList()));
+ connect(m_ui->refreshDevicesButton, &QAbstractButton::clicked,
+ this, &AndroidDeviceDialog::refreshDeviceList);
- connect(m_ui->createAVDButton, SIGNAL(clicked()),
- this, SLOT(createAvd()));
- connect(m_ui->deviceView, SIGNAL(doubleClicked(QModelIndex)),
- this, SLOT(accept()));
+ connect(m_ui->createAVDButton, &QAbstractButton::clicked,
+ this, &AndroidDeviceDialog::createAvd);
+ connect(m_ui->deviceView, &QAbstractItemView::doubleClicked,
+ this, &QDialog::accept);
- connect(&m_futureWatcherAddDevice, SIGNAL(finished()),
- this, SLOT(avdAdded()));
+ connect(&m_futureWatcherAddDevice, &QFutureWatcherBase::finished,
+ this, &AndroidDeviceDialog::avdAdded);
connect(&m_futureWatcherRefreshDevices, &QFutureWatcherBase::finished,
this, &AndroidDeviceDialog::devicesRefreshed);