Qt5: fixed returning values of some functions in C bindings.

git-svn-id: trunk@57654 -
This commit is contained in:
zeljko 2018-04-15 08:18:45 +00:00
parent 68b3fe108b
commit f98c9d4316
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ void QBackingStore_size(QBackingStoreH handle, PSize retval)
bool QBackingStore_scroll(QBackingStoreH handle, const QRegionH area, int dx, int dy)
{
((QBackingStore *)handle)->scroll(*(const QRegion*)area, dx, dy);
return ((QBackingStore *)handle)->scroll(*(const QRegion*)area, dx, dy);
}
void QBackingStore_beginPaint(QBackingStoreH handle, const QRegionH AnonParam1)

View File

@ -391,12 +391,12 @@ void QWindow_setScreen(QWindowH handle, QScreenH screen)
bool QWindow_setKeyboardGrabEnabled(QWindowH handle, bool grab)
{
((QWindow *)handle)->setKeyboardGrabEnabled(grab);
return ((QWindow *)handle)->setKeyboardGrabEnabled(grab);
}
bool QWindow_setMouseGrabEnabled(QWindowH handle, bool grab)
{
((QWindow *)handle)->setMouseGrabEnabled(grab);
return ((QWindow *)handle)->setMouseGrabEnabled(grab);
}
void QWindow_mapToGlobal(QWindowH handle, PQtPoint retval, const QPointH AnonParam1)