Compile after QPA API changes.
QMouseEvent -> QPoint in QSimpleDrag::move and drop Task-number: QTBUG-46615 Change-Id: I9cda0f039ee8f5a70219b320abbb65f8649747e1 Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
This commit is contained in:
parent
bd4a0928ab
commit
df9b95be2a
@ -89,15 +89,15 @@ void QWaylandDrag::cancel()
|
|||||||
m_display->currentInputDevice()->dataDevice()->cancelDrag();
|
m_display->currentInputDevice()->dataDevice()->cancelDrag();
|
||||||
}
|
}
|
||||||
|
|
||||||
void QWaylandDrag::move(const QMouseEvent *me)
|
void QWaylandDrag::move(const QPoint &globalPos)
|
||||||
{
|
{
|
||||||
Q_UNUSED(me);
|
Q_UNUSED(globalPos);
|
||||||
// Do nothing
|
// Do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
void QWaylandDrag::drop(const QMouseEvent *me)
|
void QWaylandDrag::drop(const QPoint &globalPos)
|
||||||
{
|
{
|
||||||
Q_UNUSED(me);
|
Q_UNUSED(globalPos);
|
||||||
// Do nothing
|
// Do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,8 +63,8 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
void startDrag() Q_DECL_OVERRIDE;
|
void startDrag() Q_DECL_OVERRIDE;
|
||||||
void cancel() Q_DECL_OVERRIDE;
|
void cancel() Q_DECL_OVERRIDE;
|
||||||
void move(const QMouseEvent *me) Q_DECL_OVERRIDE;
|
void move(const QPoint &globalPos) Q_DECL_OVERRIDE;
|
||||||
void drop(const QMouseEvent *me) Q_DECL_OVERRIDE;
|
void drop(const QPoint &globalpos) Q_DECL_OVERRIDE;
|
||||||
void endDrag() Q_DECL_OVERRIDE;
|
void endDrag() Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user