From 509b2356d13cb21aa3370766cd770fa38fed7e5f Mon Sep 17 00:00:00 2001 From: Federico Fuga Date: Fri, 8 Nov 2024 11:23:28 +0100 Subject: [PATCH] Fix missing declarations --- src/DockAreaWidget.h | 1 + src/DockWidgetTab.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/DockAreaWidget.h b/src/DockAreaWidget.h index 30701fb..e0c39c7 100644 --- a/src/DockAreaWidget.h +++ b/src/DockAreaWidget.h @@ -38,6 +38,7 @@ QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) QT_FORWARD_DECLARE_CLASS(QAbstractButton) +QT_FORWARD_DECLARE_CLASS(QMenu) namespace ads { diff --git a/src/DockWidgetTab.h b/src/DockWidgetTab.h index 973a1ad..9db1495 100644 --- a/src/DockWidgetTab.h +++ b/src/DockWidgetTab.h @@ -35,6 +35,8 @@ #include "ads_globals.h" +QT_FORWARD_DECLARE_CLASS(QMenu) + namespace ads { class CDockWidget;