forked from qt-creator/qt-creator
Remove leftover code for header diagnostic info bar
ClangCodeModel used to show an info bar about errors in headers in the
editor, but that was removed. Remove the remaining infrastructure that
was used to show them.
Amends b52fac7148
Change-Id: Id89f2bcb7778245f468923d29c577bf1ca68ee75
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -427,10 +427,8 @@ BaseEditorDocumentProcessor *CppEditorDocument::processor()
|
||||
connect(m_processor.data(), &BaseEditorDocumentProcessor::codeWarningsUpdated,
|
||||
[this] (unsigned revision,
|
||||
const QList<QTextEdit::ExtraSelection> selections,
|
||||
const std::function<QWidget*()> &creator,
|
||||
const TextEditor::RefactorMarkers &refactorMarkers) {
|
||||
emit codeWarningsUpdated(revision, selections, refactorMarkers);
|
||||
m_minimizableInfoBars.processHeaderDiagnostics(creator);
|
||||
});
|
||||
connect(m_processor.data(), &BaseEditorDocumentProcessor::ifdefedOutBlocksUpdated,
|
||||
this, &CppEditorDocument::ifdefedOutBlocksUpdated);
|
||||
|
||||
Reference in New Issue
Block a user