painter => painterMask: more descriptive name

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775826
This commit is contained in:
Marco Martin 2008-02-16 18:43:25 +00:00
parent bd80f41ae2
commit 1403f2d007

View File

@ -350,14 +350,14 @@ void ToolTip::resizeEvent(QResizeEvent *)
}
QBitmap mask(width(), height());
QPainter painter(&mask);
QPainter painterMask(&mask);
mask.fill(Qt::white);
painter.setBrush(Qt::black);
painter.setPen(Qt::black);
painterMask.setBrush(Qt::black);
painterMask.setPen(Qt::black);
painter.drawPath(roundedRectangle(mask.rect().adjusted(-1,-1,-1,-1), 10));
painterMask.drawPath(roundedRectangle(mask.rect().adjusted(-1,-1,-1,-1), 10));
setMask(mask);
}