[GB.QT4]
* 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:
parent
5a547fbb10
commit
9274cabcc0
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue