forked from qt-creator/qt-creator
Utils: move code model icons to utils
In preperation for the language server protocol support. Change-Id: Iee4ccd53a86d9afdb357972ea62b75ace2edcb1d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -171,7 +171,7 @@ QVariant TokenTreeItem::data(int column, int role) const
|
||||
}
|
||||
|
||||
case Qt::DecorationRole: {
|
||||
return CPlusPlus::Icons::iconForType(ClangCodeModel::Utils::iconTypeForToken(token));
|
||||
return ::Utils::CodeModelIcon::iconForType(ClangCodeModel::Utils::iconTypeForToken(token));
|
||||
}
|
||||
|
||||
case CppTools::AbstractOverviewModel::FileNameRole: {
|
||||
|
||||
Reference in New Issue
Block a user