* BUG: DrawingArea draws its border correctly again.


git-svn-id: svn://localhost/gambas/trunk@3473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2011-01-19 03:15:09 +00:00
parent 1b7476c5b3
commit 5ec2cf75d0

View file

@ -163,10 +163,11 @@ void MyDrawingArea::redraw(QRect &r, bool frame)
if (frame)
{
p->setClipping(false);
p->initFrom(this);
p->setRenderHint(QPainter::Antialiasing, false);
drawFrame(p);
QPainter pf(this);
pf.setClipping(false);
pf.initFrom(this);
pf.setRenderHint(QPainter::Antialiasing, false);
drawFrame(&pf);
}
if (_use_paint)