forked from qt-creator/qt-creator
Build fix for Windows
Change-Id: I81abfab977d2ea9fd36dcf5e48346744742208cf Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user