Skip to content

Commit 2116ce5

Browse files
committed
refactor(integration): remove MouseArea from ItemDelegate.
ItemDelegate supports onClicked directly. Signed-off-by: Camila Ayres <hello@camilasan.com>
1 parent 530556e commit 2116ce5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/gui/integration/FileActionsWindow.qml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,7 @@ ApplicationWindow {
163163
width: parent.width
164164
}
165165

166-
MouseArea {
167-
id: fileActionMouseArea
168-
anchors.fill: parent
169-
anchors.margins: Style.standardSpacing
170-
cursorShape: Qt.PointingHandCursor
171-
onClicked: fileActionModel.createRequest(index)
172-
}
166+
onClicked: fileActionModel.createRequest(index)
173167
}
174168
}
175169

0 commit comments

Comments
 (0)