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
bfbf7848
Commit
bfbf7848
authored
Mar 23, 2010
by
Erik Verbruggen
Browse files
Fixed null-pointer deref.
parent
0eddf5c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/core/filemanager/addpropertyvisitor.cpp
View file @
bfbf7848
...
...
@@ -111,7 +111,7 @@ void AddPropertyVisitor::addInMembers(QmlJS::AST::UiObjectInitializer *initializ
if
(
isOneLiner
)
{
if
(
insertAfter
==
0
)
{
// we're inserting after an lbrace
if
(
in
sertAfter
->
next
)
{
// we're inserting before a member (and not the rbrace)
if
(
in
itializer
->
members
)
{
// we're inserting before a member (and not the rbrace)
needsTrailingSemicolon
=
true
;
}
}
else
{
// we're inserting after a member, not after the lbrace
...
...
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