Skip to content
GitLab
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
5cb791d7
Commit
5cb791d7
authored
Oct 26, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.formEditor: fix memory leak
Reviewed-by: Marco Bubke
parent
ce3b595c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
View file @
5cb791d7
...
...
@@ -198,6 +198,8 @@ QPointF MoveManipulator::findSnappingOffset(const QHash<FormEditorItem*, QRectF>
void
MoveManipulator
::
generateSnappingLines
(
const
QHash
<
FormEditorItem
*
,
QRectF
>
&
boundingRectHash
)
{
qDeleteAll
(
m_graphicsLineList
);
m_graphicsLineList
.
clear
();
m_graphicsLineList
=
m_snapper
.
generateSnappingLines
(
boundingRectHash
.
values
(),
m_layerItem
.
data
(),
m_snapper
.
transformtionSpaceFormEditorItem
()
->
sceneTransform
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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