Fix compile warning
This commit is contained in:
parent
9188aeab5a
commit
addf0945a1
@ -86,10 +86,10 @@ private:
|
||||
QDeclarativeComponent* m_delegate;
|
||||
QDeclarativeItem* m_source;
|
||||
QDeclarativeItem* m_target;
|
||||
DeclarativeMimeData* const m_data;
|
||||
bool m_enabled;
|
||||
Qt::DropActions m_supportedActions;
|
||||
Qt::DropAction m_defaultAction;
|
||||
DeclarativeMimeData* const m_data;
|
||||
};
|
||||
|
||||
#endif // DECLARATIVEDRAGAREA_H
|
||||
|
@ -25,12 +25,12 @@
|
||||
|
||||
DeclarativeDragDropEvent::DeclarativeDragDropEvent(QGraphicsSceneDragDropEvent* e, QObject* parent) :
|
||||
QObject(parent),
|
||||
m_event(e),
|
||||
m_x(e->pos().x()),
|
||||
m_y(e->pos().y()),
|
||||
m_buttons(e->buttons()),
|
||||
m_modifiers(e->modifiers()),
|
||||
m_data(e->mimeData())
|
||||
m_data(e->mimeData()),
|
||||
m_event(e)
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user