Revert now unnecessary checks for null-types

This reverts commits:

c721304a47
885d908ea3
a0909989f7
fb4ad59ddb
0a9a67cf54
0d1624d4d1
d018cfd5cb
0504fdd00b
a2fd10fe19

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp

Reviewed-by: Roberto Raggi
This commit is contained in:
Thorbjørn Lindeijer
2009-02-10 17:37:18 +01:00
parent 146a534932
commit a33ae02927
5 changed files with 8 additions and 23 deletions

View File

@@ -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() && ! symbol->type()->isFunctionType())
if (! symbol->type()->isFunctionType())
name += QLatin1String(": ");
name += type;
}