aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickdeliveryagent_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/util/qquickdeliveryagent_p_p.h')
-rw-r--r--src/quick/util/qquickdeliveryagent_p_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/util/qquickdeliveryagent_p_p.h b/src/quick/util/qquickdeliveryagent_p_p.h
index faf7f6318f..ad1eece36e 100644
--- a/src/quick/util/qquickdeliveryagent_p_p.h
+++ b/src/quick/util/qquickdeliveryagent_p_p.h
@@ -72,9 +72,6 @@ class QQuickWindow;
struct QQuickPointingDeviceExtra {
// used in QQuickPointerHandlerPrivate::deviceDeliveryTargets
QVector<QObject *> deliveryTargets;
- // memory of which agent was delivering when each QEventPoint was grabbed
- // TODO maybe add QEventPointPrivate::qqExtra, or sth in QPointingDevicePrivate::EventPointData
- QFlatMap<int, QQuickDeliveryAgent*> grabbedEventPointDeliveryAgents;
};
class Q_QUICK_PRIVATE_EXPORT QQuickDeliveryAgentPrivate : public QObjectPrivate
@@ -121,6 +118,9 @@ public:
bool frameSynchronousHoverEnabled = true;
bool isSubsceneAgent = false;
+ static bool subsceneAgentsExist;
+ // QQuickDeliveryAgent::event() sets this to the one that's currently (trying to) handle the event
+ static QQuickDeliveryAgent *currentEventDeliveryAgent;
Qt::FocusReason lastFocusReason = Qt::OtherFocusReason;
int pointerEventRecursionGuard = 0;