C++: IndexItem cleanup: remove a bit of clutter.

Change-Id: I758980009df4f7ef86fa2b5e3f4d44ccf3fc3fe3
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Erik Verbruggen
2014-09-01 11:18:21 +02:00
parent b0eab0b799
commit b01a6a4663
4 changed files with 65 additions and 63 deletions

View File

@@ -308,8 +308,7 @@ public:
info->unqualifiedNameAndScope(info->symbolName(), &name, &scope);
text = name + info->symbolType();
} else if (info->type() == IndexItem::Declaration){
text = IndexItem::representDeclaration(info->symbolName(),
info->symbolType());
text = info->representDeclaration();
}
Core::SearchResultItem item;