From 2c2015970f8c4ca46d71771d5a5af4a698304608 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 26 Sep 2017 14:35:15 +0200 Subject: [PATCH] QmlDesigner: FormEditorToolButton needs Arrow curser Since the selection and move behaivour changed and the label is now a move gizmo, the FormEditorToolButton needs an explicit arrow cursor. Change-Id: I10eb37dab39160e6854dfc57d206f6f5f1c2bc68 Reviewed-by: Tim Jenssen --- .../qmldesigner/components/formeditor/formeditortoolbutton.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmldesigner/components/formeditor/formeditortoolbutton.cpp b/src/plugins/qmldesigner/components/formeditor/formeditortoolbutton.cpp index c9d38985045..a4f2f3bff0c 100644 --- a/src/plugins/qmldesigner/components/formeditor/formeditortoolbutton.cpp +++ b/src/plugins/qmldesigner/components/formeditor/formeditortoolbutton.cpp @@ -52,6 +52,7 @@ FormEditorToolButton::FormEditorToolButton(QAction *action, QGraphicsItem *paren setEnabled(m_action->isEnabled()); setVisible(m_action->isVisible()); + setCursor(Qt::ArrowCursor); } void FormEditorToolButton::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)