Restore I-Beam cursor on hover

Should not cause issues with themes


(cherry picked from commit df0ad391ba)
This commit is contained in:
Arnav Rawat
2021-05-26 23:28:04 -05:00
committed by Carl Schwan
parent 5a28a93ab6
commit 1804140ac0

View File

@@ -76,7 +76,11 @@ ToolBar {
* background colors being very different from the QPalette::Base color.
* Luckily, none of the Qt QQC2 styles do that and neither do KDE's QQC2 styles.
*/
background: null
background: MouseArea {
acceptedButtons: Qt.NoButton
cursorShape: Qt.IBeamCursor
z: 1
}
leftPadding: mirrored ? 0 : Kirigami.Units.largeSpacing
rightPadding: !mirrored ? 0 : Kirigami.Units.largeSpacing
topPadding: 0