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:
@@ -496,11 +496,11 @@ bool ClangCompletionAssistProcessor::completePreprocessorDirectives()
|
||||
{
|
||||
foreach (const QString &preprocessorCompletion, m_preprocessorCompletions)
|
||||
addCompletionItem(preprocessorCompletion,
|
||||
Icons::iconForType(Icons::MacroIconType));
|
||||
::Utils::CodeModelIcon::iconForType(::Utils::CodeModelIcon::Macro));
|
||||
|
||||
if (m_interface->objcEnabled())
|
||||
addCompletionItem(QLatin1String("import"),
|
||||
Icons::iconForType(Icons::MacroIconType));
|
||||
::Utils::CodeModelIcon::iconForType(::Utils::CodeModelIcon::Macro));
|
||||
|
||||
return !m_completions.isEmpty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user