From 8b5a1ad92abf7038837f20f9b4a379299302cedc Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 13 Jul 2020 12:21:17 +0200 Subject: [PATCH] TextEditor: Remove a compilation error with Qt6 Using forward-declared classes in signals is no longer possible. Task-number: QTCREATORBUG-24098 Change-Id: Ib95e33741fd8e18fa2a1200f4b79690f08ea2d1a Reviewed-by: Eike Ziller --- src/plugins/texteditor/texteditor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h index 6a7aa5ec930..e00750f1042 100644 --- a/src/plugins/texteditor/texteditor.h +++ b/src/plugins/texteditor/texteditor.h @@ -27,8 +27,9 @@ #include "texteditor_global.h" #include "blockrange.h" -#include "indenter.h" #include "codeassist/assistenums.h" +#include "indenter.h" +#include "refactoroverlay.h" #include #include @@ -62,7 +63,6 @@ class TextDocument; class TextMark; class BaseHoverHandler; class RefactorOverlay; -struct RefactorMarker; class SyntaxHighlighter; class AssistInterface; class IAssistProvider;