fixed Drag.target in grid view, wrong MouseArea was being used.

This commit is contained in:
Luis Ángel San Martín 2014-11-02 23:09:35 +01:00
parent 9325eb5a7b
commit 36c9ac804f

View File

@ -28,8 +28,6 @@ Rectangle {
height: grid.cellHeight
color: backgroundColor
MouseArea {
id: mouseArea
drag.target: realCell
anchors.fill: parent
onClicked: {
comicsSelectionHelper.clear();
@ -53,6 +51,8 @@ Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
MouseArea {
id: mouseArea
drag.target: realCell
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
onDoubleClicked: {