forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user