Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10.0 Beta1
-
None
Description
Using this code:
DropArea { id: dropAreag anchors.fill: parent keys: ["application/x-color"] onDropped: drop => { if (drop.hasColor) { if (drop.proposedAction === Qt.CopyAction) { internal.setColor(drop.colorData); drop.acceptProposedAction(); } } } onEntered: drag => { if (!drag.hasColor) { drag.accepted = false; } } }
Linter gives:
Reading non-constant and non-notifiable property hasColor. Binding might not update when the property changes. [stale-property-read]