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
24cc2acd
Commit
24cc2acd
authored
Mar 24, 2010
by
Marco Bubke
Committed by
Kai Koehne
Mar 30, 2010
Browse files
Only update infobox if the mouse is pressed
parent
d6cbc673
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorgraphicsview.cpp
View file @
24cc2acd
...
...
@@ -112,6 +112,8 @@ void FormEditorGraphicsView::mouseReleaseEvent(QMouseEvent *event)
QGraphicsView
::
mouseReleaseEvent
(
mouseEvent
);
delete
mouseEvent
;
}
m_feedbackOriginPoint
=
QPoint
();
}
void
FormEditorGraphicsView
::
drawForeground
(
QPainter
*
painter
,
const
QRectF
&
/*rect*/
)
...
...
@@ -119,6 +121,9 @@ void FormEditorGraphicsView::drawForeground(QPainter *painter, const QRectF &/*r
if
(
!
m_feedbackNode
.
isValid
())
return
;
if
(
m_feedbackOriginPoint
.
isNull
())
return
;
painter
->
save
();
painter
->
resetTransform
();
...
...
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