diff options
-rw-r--r-- | src/quick/items/qquickdrag_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickdrag_p.h b/src/quick/items/qquickdrag_p.h index 36b0a2bfd1..1c49c0a79a 100644 --- a/src/quick/items/qquickdrag_p.h +++ b/src/quick/items/qquickdrag_p.h @@ -117,14 +117,14 @@ private: class QQuickDropEventEx : public QDropEvent { public: - void setProposedAction(Qt::DropAction action) { default_action = action; drop_action = action; } + void setProposedAction(Qt::DropAction action) { m_defaultAction = action; m_dropAction = action; } static void setProposedAction(QDropEvent *event, Qt::DropAction action) { static_cast<QQuickDropEventEx *>(event)->setProposedAction(action); } void copyActions(const QDropEvent &from) { - default_action = from.proposedAction(); drop_action = from.dropAction(); } + m_defaultAction = from.proposedAction(); m_dropAction = from.dropAction(); } static void copyActions(QDropEvent *to, const QDropEvent &from) { static_cast<QQuickDropEventEx *>(to)->copyActions(from); |