QmlDesigner.formEditor: no focus on enter event

Reviewed-by: Marco Bubke
Task-number: QTCREATORBUG-4820
This commit is contained in:
Thomas Hartmann
2011-05-10 15:05:52 +02:00
parent ab0bad2e67
commit 040f2e0ba9
2 changed files with 0 additions and 7 deletions

View File

@@ -172,12 +172,6 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
m_toolBox->addRightSideAction(m_resetAction.data());
}
void FormEditorWidget::enterEvent(QEvent *event)
{
m_graphicsView->setFocus();
QWidget::enterEvent(event);
}
void FormEditorWidget::changeTransformTool(bool checked)
{
if (checked)

View File

@@ -84,7 +84,6 @@ public:
protected:
void enterEvent(QEvent *event);
void wheelEvent(QWheelEvent *event);
QActionGroup *toolActionGroup() const;