Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
040f2e0b
Commit
040f2e0b
authored
May 10, 2011
by
Thomas Hartmann
Browse files
QmlDesigner.formEditor: no focus on enter event
Reviewed-by: Marco Bubke Task-number: QTCREATORBUG-4820
parent
ab0bad2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
View file @
040f2e0b
...
...
@@ -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
)
...
...
src/plugins/qmldesigner/components/formeditor/formeditorwidget.h
View file @
040f2e0b
...
...
@@ -84,7 +84,6 @@ public:
protected:
void
enterEvent
(
QEvent
*
event
);
void
wheelEvent
(
QWheelEvent
*
event
);
QActionGroup
*
toolActionGroup
()
const
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment