QNativeGestureEvent: Fix qdoc warning
Rename the parameter back to 'device', fixing:
src/gui/kernel/qevent.cpp:2776: warning: Undocumented parameter 'dev' in QNativeGestureEvent::QNativeGestureEvent()
Amends 36af37c99c.
Change-Id: I2a3f016dd6a5dda784dc851a052cb5aa1841a472
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
bb10
parent
02dc39fa8e
commit
34c879f2e1
|
|
@ -2783,13 +2783,13 @@ Q_GLOBAL_STATIC(NativeGestureEventDataHash, g_nativeGestureEventDataHash)
|
|||
\a realValue is the \macos event parameter, \a sequenceId and \a intValue are the Windows event parameters.
|
||||
\since 5.10
|
||||
*/
|
||||
QNativeGestureEvent::QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice *dev, const QPointF &localPos, const QPointF &windowPos,
|
||||
QNativeGestureEvent::QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice *device, const QPointF &localPos, const QPointF &windowPos,
|
||||
const QPointF &screenPos, qreal realValue, ulong sequenceId, quint64 intValue)
|
||||
: QInputEvent(QEvent::NativeGesture), mGestureType(type),
|
||||
mLocalPos(localPos), mWindowPos(windowPos), mScreenPos(screenPos), mRealValue(realValue),
|
||||
mSequenceId(sequenceId), mIntValue(intValue)
|
||||
{
|
||||
g_nativeGestureEventDataHash->insert(this, dev);
|
||||
g_nativeGestureEventDataHash->insert(this, device);
|
||||
}
|
||||
|
||||
QNativeGestureEvent::~QNativeGestureEvent()
|
||||
|
|
|
|||
Loading…
Reference in New Issue