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:
parent
29229f34b2
commit
604ace0095
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user