forked from qt-creator/qt-creator
TextEditor: Avoid using Core::Id::uniqueIdentifier
... by using Core::Ids instead of ExtraSelectionKind enum. Change-Id: I664ff2a4a03eddd8fe1150929203a1727c12dc84 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -229,7 +229,7 @@ void CppEditorWidget::finalizeInitializationAfterDuplication(TextEditorWidget *o
|
||||
if (cppEditorWidget->isSemanticInfoValidExceptLocalUses())
|
||||
updateSemanticInfo(cppEditorWidget->semanticInfo());
|
||||
d->m_cppEditorOutline->update();
|
||||
const ExtraSelectionKind selectionKind = CodeWarningsSelection;
|
||||
const Id selectionKind = CodeWarningsSelection;
|
||||
setExtraSelections(selectionKind, cppEditorWidget->extraSelections(selectionKind));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user