Commit 2bc8bcd3 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Build fix for Windows



Change-Id: I81abfab977d2ea9fd36dcf5e48346744742208cf
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@digia.com>
parent 9dfdbdac
...@@ -123,7 +123,7 @@ void Core::Internal::ProgressManagerPrivate::doSetApplicationLabel(const QString ...@@ -123,7 +123,7 @@ void Core::Internal::ProgressManagerPrivate::doSetApplicationLabel(const QString
if (text.isEmpty()) { if (text.isEmpty()) {
pITask->SetOverlayIcon(winId, NULL, NULL); pITask->SetOverlayIcon(winId, NULL, NULL);
} else { } else {
QPixmap pix = Utils::StyleHelper::dpiSpecificPixmap(QLatin1String(":/core/images/compile_error_taskbar.png")); QPixmap pix(Utils::StyleHelper::dpiSpecificImageFile(QLatin1String(":/core/images/compile_error_taskbar.png")));
pix.setDevicePixelRatio(1); // We want device-pixel sized font depending on the pix.height pix.setDevicePixelRatio(1); // We want device-pixel sized font depending on the pix.height
QPainter p(&pix); QPainter p(&pix);
p.setPen(Qt::white); p.setPen(Qt::white);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment