* BUG: gb.qt4 now should compile again with Qt version < 4.8.


git-svn-id: svn://localhost/gambas/trunk@5414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2012-12-06 00:42:37 +00:00
parent 5a547fbb10
commit 9274cabcc0

View file

@ -289,6 +289,8 @@ BEGIN_METHOD(WebElement_Paint, GB_OBJECT clip)
if (!painter)
return;
#if QT_VERSION >= 0x040800
if (MISSING(clip))
ELT->render(painter);
else
@ -298,6 +300,12 @@ BEGIN_METHOD(WebElement_Paint, GB_OBJECT clip)
ELT->render(painter, clip);
}
#else
ELT->render(painter);
#endif
END_METHOD