summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmintegration.h
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2023-10-11 09:45:55 +1000
committerLorn Potter <lorn.potter@gmail.com>2023-12-21 17:24:42 +1000
commite62fd1b7062af421cd289ff542514bd4332e1933 (patch)
treed8cea005075310fae8da6b5987aa06ed102482d5 /src/plugins/platforms/wasm/qwasmintegration.h
parent5af9c3d0e7e244009ffb4195ebcffb32101d8f04 (diff)
wasm: add QWasmDrag back to handle drag/drop
Change-Id: I7c577e6b13db9f5c51e5691baaf6417b956a5ff4 Done-with: Mikolaj.Boc@qt.io Pick-to: 6.7 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.h')
-rw-r--r--src/plugins/platforms/wasm/qwasmintegration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/wasm/qwasmintegration.h b/src/plugins/platforms/wasm/qwasmintegration.h
index b966487760..eeb68109a0 100644
--- a/src/plugins/platforms/wasm/qwasmintegration.h
+++ b/src/plugins/platforms/wasm/qwasmintegration.h
@@ -14,7 +14,6 @@
#include <QtCore/qhash.h>
-#include <private/qsimpledrag_p.h>
#include <private/qstdweb_p.h>
#include <emscripten.h>
@@ -33,6 +32,7 @@ class QWasmBackingStore;
class QWasmClipboard;
class QWasmAccessibility;
class QWasmServices;
+class QWasmDrag;
class QWasmIntegration : public QObject, public QPlatformIntegration
{
@@ -102,7 +102,7 @@ private:
mutable QWasmInputContext *m_platformInputContext = nullptr;
#if QT_CONFIG(draganddrop)
- std::unique_ptr<QSimpleDrag> m_drag;
+ std::unique_ptr<QWasmDrag> m_drag;
#endif
};