[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)
|
if (frame)
|
||||||
{
|
{
|
||||||
p->setClipping(false);
|
QPainter pf(this);
|
||||||
p->initFrom(this);
|
pf.setClipping(false);
|
||||||
p->setRenderHint(QPainter::Antialiasing, false);
|
pf.initFrom(this);
|
||||||
drawFrame(p);
|
pf.setRenderHint(QPainter::Antialiasing, false);
|
||||||
|
drawFrame(&pf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_use_paint)
|
if (_use_paint)
|
||||||
|
|
Loading…
Reference in a new issue