Separate scope in classes quickopen filter

The scope of the classes is now separated and displayed in the second
column, and not included in the search.
This commit is contained in:
Thorbjørn Lindeijer
2008-12-05 12:21:18 +01:00
parent f2f9e8a831
commit ecfb77d469
6 changed files with 70 additions and 31 deletions

View File

@@ -61,11 +61,11 @@ Icons::Icons()
{
}
QIcon Icons::iconForSymbol(Symbol *symbol) const
QIcon Icons::iconForSymbol(const Symbol *symbol) const
{
if (symbol->isFunction() || (symbol->isDeclaration() && symbol->type()->isFunction()))
{
Function *function = symbol->asFunction();
const Function *function = symbol->asFunction();
if (!function)
function = symbol->type()->asFunction();