diff --git a/src/libs/cplusplus/OverviewModel.cpp b/src/libs/cplusplus/OverviewModel.cpp index 1bef20f36d3..0855bcbd8f6 100644 --- a/src/libs/cplusplus/OverviewModel.cpp +++ b/src/libs/cplusplus/OverviewModel.cpp @@ -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; }