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:
David Schulz
2018-07-25 10:00:38 +02:00
parent 5d67a471e0
commit 141f19a652
63 changed files with 423 additions and 423 deletions

View File

@@ -62,7 +62,7 @@ QVariant TreeItemModel::data(const QModelIndex &index, int role) const
bool ok = false;
int type = iconType.toInt(&ok);
if (ok && type >= 0)
return CPlusPlus::Icons::iconForType(static_cast<CPlusPlus::Icons::IconType>(type));
return ::Utils::CodeModelIcon::iconForType(static_cast<::Utils::CodeModelIcon::Type>(type));
}
}
break;