Move cursorShape property out of HListView
The Timeline EventList is the only HListView that uses it. For other list views, it interferes with items like text fields which need to set cursor shape by themselves.
This commit is contained in:
@@ -6,7 +6,6 @@ import QtQuick.Controls 2.12
|
||||
ListView {
|
||||
id: listView
|
||||
|
||||
property alias cursorShape: cursorShapeArea.cursorShape
|
||||
property int currentItemHeight: currentItem ? currentItem.height : 0
|
||||
|
||||
property var checked: ({})
|
||||
@@ -130,12 +129,6 @@ ListView {
|
||||
|
||||
onSelectedCountChanged: if (! selectedCount) lastCheckedDelegateIndex = 0
|
||||
|
||||
MouseArea {
|
||||
id: cursorShapeArea
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.NoButton
|
||||
}
|
||||
|
||||
HKineticScrollingDisabler {
|
||||
width: enabled ? parent.width : 0
|
||||
height: enabled ? parent.height : 0
|
||||
|
Reference in New Issue
Block a user