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
1c893073
Commit
1c893073
authored
Mar 09, 2010
by
Roberto Raggi
Browse files
Fixed possible crash when asking for the icon of a top-level symbol (e.g. the global namespace).
parent
c5df0a1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/Icons.cpp
View file @
1c893073
...
...
@@ -84,7 +84,7 @@ QIcon Icons::iconForSymbol(const Symbol *symbol) const
}
else
if
(
symbol
->
isPrivate
())
{
return
_funcPrivateIcon
;
}
}
else
if
(
symbol
->
scope
()
->
isEnumScope
())
{
}
else
if
(
symbol
->
scope
()
&&
symbol
->
scope
()
->
isEnumScope
())
{
return
_enumeratorIcon
;
}
else
if
(
symbol
->
isDeclaration
()
||
symbol
->
isArgument
())
{
if
(
symbol
->
isPublic
())
{
...
...
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