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 <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2017-09-26 14:35:15 +02:00
parent 23a04c6592
commit 2c2015970f

View File

@@ -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 *)