Fix icon drawing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690092
This commit is contained in:
parent
be39ca07b1
commit
9dcd34a521
|
@ -162,10 +162,6 @@ void Icon::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWid
|
||||||
{
|
{
|
||||||
Q_UNUSED(option)
|
Q_UNUSED(option)
|
||||||
Q_UNUSED(widget)
|
Q_UNUSED(widget)
|
||||||
painter->save();
|
|
||||||
painter->setCompositionMode(QPainter::CompositionMode_Source);
|
|
||||||
painter->fillRect(boundingRect(), Qt::transparent);
|
|
||||||
painter->restore();
|
|
||||||
|
|
||||||
#ifdef PROVE_IT_CAN_BE_DONE
|
#ifdef PROVE_IT_CAN_BE_DONE
|
||||||
if (d->state == Private::HoverState && scene()) {
|
if (d->state == Private::HoverState && scene()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user