Skip to content

Commit

Permalink
Removed cursor shape parameters from the menu code
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatyas committed Jun 23, 2018
1 parent 129d047 commit afcfb69
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/frontend/menu/settings/MultivalueBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ FocusScope {
// do not "leak" mouse events from the panel
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: if (mouse.button == Qt.RightButton) closed();
onClicked: if (mouse.button === Qt.RightButton) closed();
}

Rectangle {
Expand Down Expand Up @@ -133,7 +133,6 @@ FocusScope {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
}
}
}
Expand Down
1 change: 0 additions & 1 deletion src/frontend/menu/settings/MultivalueOption.qml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ FocusScope {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: activate()
}
}
1 change: 0 additions & 1 deletion src/frontend/menu/settings/ToggleOption.qml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ FocusScope {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: toggle.checked = !toggle.checked
}
}

0 comments on commit afcfb69

Please sign in to comment.