summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmdiarea_p.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-09 11:04:38 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-11 02:52:25 +0000
commit3835194d340f8756d2ac7a5f9ae2a3519cb891b9 (patch)
tree63fa52aabac01d835340b94a9ac8c146ac6fc110 /src/widgets/widgets/qmdiarea_p.h
parent3906043f05d2ffccede47f845561cca95548ac5a (diff)
Convert features.rubberband to QT_[REQUIRE_]CONFIG
Change-Id: I6d634bafa6d26c1e78069fddd412e6de24f5775c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/widgets/qmdiarea_p.h')
-rw-r--r--src/widgets/widgets/qmdiarea_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/widgets/qmdiarea_p.h b/src/widgets/widgets/qmdiarea_p.h
index 353144a6ab..b77f3f63ea 100644
--- a/src/widgets/widgets/qmdiarea_p.h
+++ b/src/widgets/widgets/qmdiarea_p.h
@@ -144,7 +144,7 @@ public:
QMdi::Rearranger *regularTiler;
QMdi::Rearranger *iconTiler;
QMdi::Placer *placer;
-#ifndef QT_NO_RUBBERBAND
+#if QT_CONFIG(rubberband)
QRubberBand *rubberBand;
#endif
QMdiAreaTabBar *tabBar;
@@ -254,7 +254,7 @@ public:
subWindow->d_func()->setActive(active, changeFocus);
}
-#ifndef QT_NO_RUBBERBAND
+#if QT_CONFIG(rubberband)
void showRubberBandFor(QMdiSubWindow *subWindow);
inline void hideRubberBand()
@@ -263,7 +263,7 @@ public:
rubberBand->hide();
indexToHighlighted = -1;
}
-#endif // QT_NO_RUBBERBAND
+#endif // QT_CONFIG(rubberband)
};
#endif // QT_NO_MDIAREA