From 77f584b90f11c8b67e20757073ed45ca9ef91281 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 19 Jan 2015 21:49:10 +0100 Subject: [PATCH] Progress bar: Using @2x warning/error icons on High-DPI systems Change-Id: I7c6829462c627638da0b8452a17cdf179ac71087 Reviewed-by: Eike Ziller --- src/plugins/projectexplorer/buildprogress.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp index 6c519a1a40d..e8cbcfbe9b7 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();