diff options
author | Alessandro Portale <alessandro.portale@digia.com> | 2015-01-19 21:49:10 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@digia.com> | 2015-01-21 22:54:47 +0100 |
commit | 77f584b90f11c8b67e20757073ed45ca9ef91281 (patch) | |
tree | 0ea636d77ac251dc93439ae0ed69217394ec453b /src/plugins/projectexplorer/buildprogress.cpp | |
parent | e17fb8ffc19d2b6269aca924cd82307fff3ae517 (diff) |
Progress bar: Using @2x warning/error icons on High-DPI systems
Change-Id: I7c6829462c627638da0b8452a17cdf179ac71087
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildprogress.cpp')
-rw-r--r-- | src/plugins/projectexplorer/buildprogress.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp index 6c519a1a40..e8cbcfbe9b 100644 --- a/src/plugins/projectexplorer/buildprogress.cpp +++ b/src/plugins/projectexplorer/buildprogress.cpp @@ -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(); |