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
69b9cb8c
Commit
69b9cb8c
authored
May 12, 2011
by
Thomas Hartmann
Browse files
QmlDesigner.statesEditor: crash fix
The node instance view might be detached.
parent
7a43252d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/stateseditor/stateseditorimageprovider.cpp
View file @
69b9cb8c
...
...
@@ -49,6 +49,9 @@ QImage StatesEditorImageProvider::requestImage(const QString &id, QSize *size, c
if
(
m_nodeInstanceView
.
isNull
())
return
QImage
();
if
(
!
m_nodeInstanceView
->
model
())
return
QImage
();
//NodeInstanceView might be detached
QSize
newSize
=
requestedSize
;
if
(
newSize
.
isEmpty
())
...
...
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