aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppeditordocument.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-05-04 09:04:08 +0200
committerEike Ziller <eike.ziller@qt.io>2022-05-04 12:13:45 +0000
commiteec77fa67a3c4ebe77e8d4427737088d50f80533 (patch)
tree5d9b5c76adaead54d8c971f5e62c6e001e3b6c01 /src/plugins/cppeditor/cppeditordocument.cpp
parent2b9ec0c3d9f87c0b5e9f1d2efa34d79b49456003 (diff)
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 b52fac7148fcd333ce410b99017b7aec52e2fee6 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>
Diffstat (limited to 'src/plugins/cppeditor/cppeditordocument.cpp')
-rw-r--r--src/plugins/cppeditor/cppeditordocument.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppeditordocument.cpp b/src/plugins/cppeditor/cppeditordocument.cpp
index 5951e8b039..452d5da5fa 100644
--- a/src/plugins/cppeditor/cppeditordocument.cpp
+++ b/src/plugins/cppeditor/cppeditordocument.cpp
@@ -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);