diff options
| author | Maximilian Goldstein <max.goldstein@qt.io> | 2022-07-29 05:44:33 +0200 |
|---|---|---|
| committer | Maximilian Goldstein <max.goldstein@qt.io> | 2022-08-01 09:53:13 +0200 |
| commit | a32033f4eabe4dc503211005185c4d9e44f03c50 (patch) | |
| tree | af76964ccf24b8f76247e61aac2e4af651577b85 /src/quick/handlers/qquickpointerdevicehandler.cpp | |
| parent | 5d835b7a2ed80f22cb9587150642d4c32bcfdac8 (diff) | |
QtQuick: Fix type issues with QQuickPointHandlers
Now uses the proper enums and exposes all necessary classes to QML.
Change-Id: I04cc390469c5811ad4683454b460829fa1e86582
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpointerdevicehandler.cpp')
| -rw-r--r-- | src/quick/handlers/qquickpointerdevicehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquickpointerdevicehandler.cpp b/src/quick/handlers/qquickpointerdevicehandler.cpp index 78e94d8c96..b610e083cc 100644 --- a/src/quick/handlers/qquickpointerdevicehandler.cpp +++ b/src/quick/handlers/qquickpointerdevicehandler.cpp @@ -31,7 +31,7 @@ QQuickPointerDeviceHandler::QQuickPointerDeviceHandler(QQuickPointerDeviceHandle { } -QPointingDevice::DeviceTypes QQuickPointerDeviceHandler::acceptedDevices() const +QInputDevice::DeviceTypes QQuickPointerDeviceHandler::acceptedDevices() const { Q_D(const QQuickPointerDeviceHandler); return d->acceptedDevices; |
