Commit ab8b1f96 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

CppEditor: Replace <no name> with <block> for blocks in the model inspector



Change-Id: Ifce24ebe1aaafd07d13821d9c385bd1af67dadff
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 32fa850a
...@@ -791,7 +791,7 @@ QVariant SymbolsModel::data(const QModelIndex &index, int role) const ...@@ -791,7 +791,7 @@ QVariant SymbolsModel::data(const QModelIndex &index, int role) const
} else if (column == SymbolColumn) { } else if (column == SymbolColumn) {
QString name = CPlusPlus::Overview().prettyName(symbol->name()); QString name = CPlusPlus::Overview().prettyName(symbol->name());
if (name.isEmpty()) if (name.isEmpty())
name = QLatin1String("<no name>"); name = QLatin1String(symbol->isBlock() ? "<block>" : "<no name>");
return name; return name;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment