diff --git a/ui/text/text.h b/ui/text/text.h index bb412a1..d275895 100644 --- a/ui/text/text.h +++ b/ui/text/text.h @@ -76,7 +76,7 @@ static constexpr TextSelection AllTextSelection = { 0, 0xFFFF }; namespace Ui::Text { -struct Block; +class Block; class AbstractBlock; struct IsolatedEmoji; struct OnlyCustomEmoji; diff --git a/ui/text/text_renderer.h b/ui/text/text_renderer.h index 3d39c6f..600ce62 100644 --- a/ui/text/text_renderer.h +++ b/ui/text/text_renderer.h @@ -17,7 +17,7 @@ struct QScriptLine; namespace Ui::Text { -struct AbstractBlock; +class AbstractBlock; struct FixedRange { QFixed from;