summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qundostack.h
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-01-28 11:08:14 +0100
committerKai Köhne <kai.koehne@qt.io>2022-02-09 15:17:53 +0100
commit604ace00957d7dfd8029932c529a59810485163e (patch)
treeced5e535b0422d85d7fce0cbc9d9f134d466b840 /src/widgets/util/qundostack.h
parent29229f34b2ede5545f466a57371334a483e3c28f (diff)
Widgets: Do not include qundogroup.h, qundostack.h in QtWidgets header
The headers are already included in QtGui/QtGui. This also fixes an issue when compiling with the respective features disabled. Pick-to: 6.2 6.3 Fixes: QTBUG-100290 Change-Id: I5e7c6578952535315bacde218a26d2133c486b2c Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/widgets/util/qundostack.h')
-rw-r--r--src/widgets/util/qundostack.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/widgets/util/qundostack.h b/src/widgets/util/qundostack.h
index f520ab6f95..ddb65af451 100644
--- a/src/widgets/util/qundostack.h
+++ b/src/widgets/util/qundostack.h
@@ -37,6 +37,11 @@
**
****************************************************************************/
+#if 0
+// syncqt: header is already part of QtGui/QtGui
+#pragma qt_no_master_include
+#endif
+
#include <QtGui/QUndoStack>
QT_BEGIN_NAMESPACE