mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 14:34:42 -04:00
fixed compilation in MacOSX
This commit is contained in:
@ -38,7 +38,8 @@ void EmptyLabelWidget::setColor(YACReader::LabelColors color)
|
||||
{
|
||||
QPixmap p(":/images/empty_label.png");
|
||||
QImage img = p.toImage().convertToFormat(QImage::Format_ARGB32);
|
||||
YACReader::colorize(img,QColor(YACReader::labelColorToRGBString(color)));
|
||||
QColor destColor(YACReader::labelColorToRGBString(color));
|
||||
YACReader::colorize(img,destColor);
|
||||
iconLabel->setPixmap(QPixmap::fromImage(img));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user