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>
This commit is contained in:
Kai Köhne 2022-01-28 11:08:14 +01:00
parent 29229f34b2
commit 604ace0095
2 changed files with 10 additions and 0 deletions

View File

@ -37,6 +37,11 @@
**
****************************************************************************/
#if 0
// syncqt: header is already part of QtGui/QtGui
#pragma qt_no_master_include
#endif
#include <QtGui/QUndoGroup>
QT_BEGIN_NAMESPACE

View File

@ -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