QHeaderView: remove unused include, add missing include
Remove unused include of qtableview.h in the source - this also fixes the compilation with feature_tableview = OFF. Move the missing include of qlist.h into the header. Change-Id: Ie443cf6f3bf6b76dedc994bf1b8c16daebf9022d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit e0130876ba376faf681b80d4a7dbb20a5e3c3bdb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 03d478d5a9cd4ded7a72057d7070fd047b84c195)
This commit is contained in:
parent
6e7db8563b
commit
f5f66610b3
@ -2,7 +2,6 @@
|
|||||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
#include "qheaderview.h"
|
#include "qheaderview.h"
|
||||||
#include "qtableview.h"
|
|
||||||
|
|
||||||
#include <qabstractitemdelegate.h>
|
#include <qabstractitemdelegate.h>
|
||||||
#include <qapplication.h>
|
#include <qapplication.h>
|
||||||
@ -10,7 +9,6 @@
|
|||||||
#include <qbrush.h>
|
#include <qbrush.h>
|
||||||
#include <qdebug.h>
|
#include <qdebug.h>
|
||||||
#include <qevent.h>
|
#include <qevent.h>
|
||||||
#include <qlist.h>
|
|
||||||
#include <qpainter.h>
|
#include <qpainter.h>
|
||||||
#include <qscrollbar.h>
|
#include <qscrollbar.h>
|
||||||
#include <qstyle.h>
|
#include <qstyle.h>
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#include <QtWidgets/qtwidgetsglobal.h>
|
#include <QtWidgets/qtwidgetsglobal.h>
|
||||||
#include <QtWidgets/qabstractitemview.h>
|
#include <QtWidgets/qabstractitemview.h>
|
||||||
|
#include <QtCore/qlist.h>
|
||||||
|
|
||||||
QT_REQUIRE_CONFIG(itemviews);
|
QT_REQUIRE_CONFIG(itemviews);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user