diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2018-07-11 19:36:43 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2018-07-12 00:14:40 +0000 |
commit | 1c0f0d3072c0944f95bbc15b7e5d3c1629978a6b (patch) | |
tree | 58a180c3d0db9de52cba88fb4aff223045e3ba2a /src | |
parent | 255182d58a4f5209e84bc0090e38cc22316aa083 (diff) |
wasm: align large bitfield at 64 bits
Task-number: QTBUG-69337 QTBUG-69223
Change-Id: Idb605564c36850fbe781e8919f26ac2fa90aea0f
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsitem_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/graphicsview/qgraphicsitem_p.h b/src/widgets/graphicsview/qgraphicsitem_p.h index 9fc6c0794a..87e8fd81d8 100644 --- a/src/widgets/graphicsview/qgraphicsitem_p.h +++ b/src/widgets/graphicsview/qgraphicsitem_p.h @@ -500,7 +500,9 @@ public: quint32 filtersDescendantEvents : 1; quint32 sceneTransformTranslateOnly : 1; quint32 notifyBoundingRectChanged : 1; - +#ifdef Q_OS_HTML5 + unsigned char :0; //this aligns 64bit field for wasm +#endif // New 32 bits quint32 notifyInvalidated : 1; quint32 mouseSetsFocus : 1; |