diff options
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmdom.cpp')
| -rw-r--r-- | src/plugins/platforms/wasm/qwasmdom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/wasm/qwasmdom.cpp b/src/plugins/platforms/wasm/qwasmdom.cpp index 9aca102b2e8..92ee2896d05 100644 --- a/src/plugins/platforms/wasm/qwasmdom.cpp +++ b/src/plugins/platforms/wasm/qwasmdom.cpp @@ -28,9 +28,9 @@ void syncCSSClassWith(emscripten::val element, std::string cssClassName, bool fl QPointF mapPoint(emscripten::val source, emscripten::val target, const QPointF &point) { const auto sourceBoundingRect = - QRectF::fromDOMRect(source.call<emscripten::val>("getBoundingClientRect")); + QRectF::fromDomRect(source.call<emscripten::val>("getBoundingClientRect")); const auto targetBoundingRect = - QRectF::fromDOMRect(target.call<emscripten::val>("getBoundingClientRect")); + QRectF::fromDomRect(target.call<emscripten::val>("getBoundingClientRect")); const auto offset = sourceBoundingRect.topLeft() - targetBoundingRect.topLeft(); return point + offset; |
