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
Tobias Hunger
qt-creator
Commits
a2fd10fe
Commit
a2fd10fe
authored
Feb 09, 2009
by
Roberto Raggi
Browse files
Fixes: Possible crash in OverviewModel.
parent
d01795d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/OverviewModel.cpp
View file @
a2fd10fe
...
...
@@ -171,7 +171,7 @@ QVariant OverviewModel::data(const QModelIndex &index, int role) const
if
(
!
symbol
->
isScopedSymbol
()
||
symbol
->
isFunction
())
{
QString
type
=
_overview
.
prettyType
(
symbol
->
type
());
if
(
!
type
.
isEmpty
())
{
if
(
!
symbol
->
type
()
->
isFunctionType
())
if
(
symbol
->
type
()
&&
!
symbol
->
type
()
->
isFunctionType
())
name
+=
QLatin1String
(
": "
);
name
+=
type
;
}
...
...
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