From 1804140ac0f41bdc870d8d287cd93c8879880ea2 Mon Sep 17 00:00:00 2001 From: Arnav Rawat Date: Wed, 26 May 2021 23:28:04 -0500 Subject: [PATCH] Restore I-Beam cursor on hover Should not cause issues with themes (cherry picked from commit df0ad391bab10fc96a50e080fde1c7e12f0c6379) --- imports/NeoChat/Component/ChatBox/ChatBar.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/imports/NeoChat/Component/ChatBox/ChatBar.qml b/imports/NeoChat/Component/ChatBox/ChatBar.qml index 0ddf577fb..d31ae7bac 100644 --- a/imports/NeoChat/Component/ChatBox/ChatBar.qml +++ b/imports/NeoChat/Component/ChatBox/ChatBar.qml @@ -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