|
|
|
@ -48,11 +48,7 @@ void createBanner(QPixmap* Pixmap,const QPixmap* IconAlpha,const QString& Text,i |
|
|
|
|
QPixmap Icon(32,32); |
|
|
|
|
if(IconAlpha){ |
|
|
|
|
Icon.fill(TextColor); |
|
|
|
|
// TODO Hier Fix!
|
|
|
|
|
// Icon.setAlphaChannel(*IconAlpha);
|
|
|
|
|
// QPainter::setCompositionMode(QPainter::CompositionMode_SourceOver)
|
|
|
|
|
painter.setCompositionMode(QPainter::CompositionMode_SourceOver); |
|
|
|
|
painter.drawPixmap(10,10,Icon); |
|
|
|
|
painter.drawPixmap(10,10, *IconAlpha); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
painter.setPen(QPen(TextColor)); |
|
|
|
|