forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user