Fix banner icon display
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user