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

Build fix for Windows

Change-Id: I81abfab977d2ea9fd36dcf5e48346744742208cf
Reviewed-by: default avatarAlessandro Portale <>
parent 9dfdbdac
......@@ -123,7 +123,7 @@ void Core::Internal::ProgressManagerPrivate::doSetApplicationLabel(const QString
if (text.isEmpty()) {
pITask->SetOverlayIcon(winId, NULL, NULL);
} 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
QPainter p(&pix);
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