From 6bf593ef4b2ccd31bd706d11bb9ea2f998e77049 Mon Sep 17 00:00:00 2001 From: Dominik Nussbaumer <4436784+tnixeu@users.noreply.github.com> Date: Tue, 27 Feb 2024 17:34:42 +0100 Subject: [PATCH] fix forward declarations of `QXmlStreamWriter` (#608) --- src/AutoHideDockContainer.h | 2 +- src/AutoHideSideBar.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoHideDockContainer.h b/src/AutoHideDockContainer.h index a483e68..2fdce37 100644 --- a/src/AutoHideDockContainer.h +++ b/src/AutoHideDockContainer.h @@ -34,7 +34,7 @@ #include #include "AutoHideTab.h" -class QXmlStreamWriter; +QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) namespace ads { diff --git a/src/AutoHideSideBar.h b/src/AutoHideSideBar.h index a7e4835..3505682 100644 --- a/src/AutoHideSideBar.h +++ b/src/AutoHideSideBar.h @@ -33,7 +33,7 @@ #include "ads_globals.h" #include "AutoHideTab.h" -class QXmlStreamWriter; +QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) namespace ads {