forked from qt-creator/qt-creator
Utils/Android: Add themable, DPI-endabled Download icon to Utils::Icons
And use it in AdroidSettingsDialog Change-Id: Ia847b6df0e5ab26fc02157f888565a3e6d86bb34 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -288,6 +288,11 @@ AndroidSettingsWidget::AndroidSettingsWidget(QWidget *parent)
|
||||
|
||||
m_ui->downloadOpenJDKToolButton->setVisible(!Utils::HostOsInfo::isLinuxHost());
|
||||
|
||||
const QIcon downloadIcon = Utils::Icons::DOWNLOAD.icon();
|
||||
m_ui->downloadSDKToolButton->setIcon(downloadIcon);
|
||||
m_ui->downloadNDKToolButton->setIcon(downloadIcon);
|
||||
m_ui->downloadOpenJDKToolButton->setIcon(downloadIcon);
|
||||
|
||||
connect(&m_virtualDevicesWatcher, &QFutureWatcherBase::finished,
|
||||
this, &AndroidSettingsWidget::updateAvds);
|
||||
connect(&m_futureWatcher, &QFutureWatcherBase::finished,
|
||||
|
||||
Reference in New Issue
Block a user