forked from qt-creator/qt-creator
QmlDesigner.FormEditor: Fix cursor handling
Change-Id: I533642ebf5d3937f96b248d7f999eb4928e035e9 Reviewed-on: http://codereview.qt.nokia.com/911 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
f7f85b797e
commit
4ae6c1da95
@@ -54,7 +54,7 @@ MoveTool::MoveTool(FormEditorView *editorView)
|
||||
m_selectionIndicator(editorView->scene()->manipulatorLayerItem()),
|
||||
m_resizeIndicator(editorView->scene()->manipulatorLayerItem())
|
||||
{
|
||||
// view()->setCursor(Qt::SizeAllCursor);
|
||||
m_selectionIndicator.setCursor(Qt::SizeAllCursor);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,8 @@ void MoveTool::clear()
|
||||
m_movingItems.clear();
|
||||
m_selectionIndicator.clear();
|
||||
m_resizeIndicator.clear();
|
||||
|
||||
AbstractFormEditorTool::clear();
|
||||
}
|
||||
|
||||
void MoveTool::mousePressEvent(const QList<QGraphicsItem*> &itemList,
|
||||
|
||||
Reference in New Issue
Block a user