forked from qt-creator/qt-creator
Revert now unnecessary checks for null-types
This reverts commits:c721304a47885d908ea3a0909989f7fb4ad59ddb0a9a67cf540d1624d4d1d018cfd5cb0504fdd00ba2fd10fe19Conflicts: src/plugins/cpptools/cppcodecompletion.cpp Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user