Progress bar: Using @2x warning/error icons on High-DPI systems

Change-Id: I7c6829462c627638da0b8452a17cdf179ac71087
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2015-01-19 21:49:10 +01:00
parent e17fb8ffc1
commit 77f584b90f

View File

@@ -87,8 +87,10 @@ BuildProgress::BuildProgress(TaskWindow *taskWindow, Qt::Orientation orientation
m_errorIcon->setAlignment(Qt::AlignRight);
m_warningIcon->setAlignment(Qt::AlignRight);
m_errorIcon->setPixmap(QPixmap(QLatin1String(Core::Constants::ICON_ERROR)));
m_warningIcon->setPixmap(QPixmap(QLatin1String(Core::Constants::ICON_WARNING)));
m_errorIcon->setPixmap(QPixmap(Utils::StyleHelper::dpiSpecificImageFile(
QLatin1String(Core::Constants::ICON_ERROR))));
m_warningIcon->setPixmap(QPixmap(Utils::StyleHelper::dpiSpecificImageFile(
QLatin1String(Core::Constants::ICON_WARNING))));
m_contentWidget->hide();