From 32f792365297b7613215011f7825cabb5428d475 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Mon, 19 Jan 2015 18:20:23 +0100 Subject: [PATCH] Fix: use arrow cursor when terminal application uses mouse. --- app/qml/PreprocessedTerminal.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/qml/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml index 7d3988e..1e6d2a0 100644 --- a/app/qml/PreprocessedTerminal.qml +++ b/app/qml/PreprocessedTerminal.qml @@ -178,7 +178,7 @@ Item{ MouseArea{ acceptedButtons: Qt.LeftButton | Qt.MiddleButton | Qt.RightButton anchors.fill: parent - cursorShape: Qt.IBeamCursor + cursorShape: kterminal.terminalUsesMouse ? Qt.ArrowCursor : Qt.IBeamCursor onWheel:{ if(wheel.modifiers & Qt.ControlModifier){ wheel.angleDelta.y > 0 ? zoomIn.trigger() : zoomOut.trigger();