Removed obsoleted code.

This commit is contained in:
Roberto Raggi
2010-05-21 15:43:42 +02:00
parent 0ce09d9d87
commit 3e9faabf9e

View File

@@ -106,10 +106,7 @@ void CppEditorSupport::updateDocument()
{
_revision = editorRevision();
if (TextEditor::BaseTextEditor *edit = qobject_cast<TextEditor::BaseTextEditor*>(_textEditor->widget())) {
const QList<QTextEdit::ExtraSelection> selections =
edit->extraSelections(TextEditor::BaseTextEditor::CodeWarningsSelection);
if (qobject_cast<TextEditor::BaseTextEditor*>(_textEditor->widget()) != 0) {
_modelManager->stopEditorSelectionsUpdate();
}