[GB.QT4]
* 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:
parent
1b7476c5b3
commit
5ec2cf75d0
1 changed files with 5 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue