mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-25 07:38:11 +00:00
override cursor when chat text content hovered (only global cursor works on chat bubble) #LINQT-2364
This commit is contained in:
parent
be5a7fa4e7
commit
f52d2212bb
1 changed files with 5 additions and 1 deletions
|
|
@ -67,7 +67,11 @@ TextEdit {
|
|||
propagateComposedEvents: true
|
||||
hoverEnabled: true
|
||||
scrollGestureEnabled: false
|
||||
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor
|
||||
onContainsMouseChanged: {
|
||||
if (containsMouse) UtilsCpp.setGlobalCursor(Qt.IBeamCursor)
|
||||
else UtilsCpp.restoreGlobalCursor()
|
||||
}
|
||||
cursorShape: mainItem.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor
|
||||
acceptedButtons: Qt.LeftButton
|
||||
onPressed: (mouse) => {
|
||||
// if(!keepLastSelection) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue