From e6fad35155a25a932386ad6f8421efd74404ac7f Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Sun, 23 Jul 2017 11:31:32 +0200 Subject: Convert features.graphicsview to QT_[REQUIRE_]CONFIG Change-Id: I1083097802772624e5d414678b4612308683a56f Reviewed-by: Oswald Buddenhagen --- src/widgets/graphicsview/qgraphicsgridlayout.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/widgets/graphicsview/qgraphicsgridlayout.h') diff --git a/src/widgets/graphicsview/qgraphicsgridlayout.h b/src/widgets/graphicsview/qgraphicsgridlayout.h index c7c2edd2a2..fb9bc2e32c 100644 --- a/src/widgets/graphicsview/qgraphicsgridlayout.h +++ b/src/widgets/graphicsview/qgraphicsgridlayout.h @@ -44,10 +44,9 @@ #include #include -QT_BEGIN_NAMESPACE - +QT_REQUIRE_CONFIG(graphicsview); -#if !defined(QT_NO_GRAPHICSVIEW) +QT_BEGIN_NAMESPACE class QGraphicsGridLayoutPrivate; @@ -130,9 +129,6 @@ private: inline void QGraphicsGridLayout::addItem(QGraphicsLayoutItem *aitem, int arow, int acolumn, Qt::Alignment aalignment) { addItem(aitem, arow, acolumn, 1, 1, aalignment); } -#endif - QT_END_NAMESPACE #endif - -- cgit v1.2.3