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(); | ||||
|  | ||||
|   | ||||
| @@ -47,7 +47,7 @@ class CPLUSPLUS_EXPORT Icons | ||||
| public: | ||||
|     Icons(); | ||||
|  | ||||
|     QIcon iconForSymbol(Symbol *symbol) const; | ||||
|     QIcon iconForSymbol(const Symbol *symbol) const; | ||||
|  | ||||
|     QIcon keywordIcon() const; | ||||
|     QIcon macroIcon() const; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user