Fix banner icon display
This commit is contained in:
parent
c115c7cd7f
commit
9026339200
|
@ -48,11 +48,7 @@ void createBanner(QPixmap* Pixmap,const QPixmap* IconAlpha,const QString& Text,i
|
||||||
QPixmap Icon(32,32);
|
QPixmap Icon(32,32);
|
||||||
if(IconAlpha){
|
if(IconAlpha){
|
||||||
Icon.fill(TextColor);
|
Icon.fill(TextColor);
|
||||||
// TODO Hier Fix!
|
painter.drawPixmap(10,10, *IconAlpha);
|
||||||
// Icon.setAlphaChannel(*IconAlpha);
|
|
||||||
// QPainter::setCompositionMode(QPainter::CompositionMode_SourceOver)
|
|
||||||
painter.setCompositionMode(QPainter::CompositionMode_SourceOver);
|
|
||||||
painter.drawPixmap(10,10,Icon);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
painter.setPen(QPen(TextColor));
|
painter.setPen(QPen(TextColor));
|
||||||
|
|
Loading…
Reference in New Issue