Fix build with -no-feature-rubberband
Change-Id: Ida6698c4868507ccbf5b4c5e3eb1d2f5a7109f53 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
6bf9f49072
commit
cabf2950f7
@ -1533,6 +1533,7 @@ void QMdiAreaPrivate::highlightNextSubWindow(int increaseFactor)
|
|||||||
Q_ASSERT(indexToHighlighted >= 0);
|
Q_ASSERT(indexToHighlighted >= 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if QT_CONFIG(rubberband)
|
||||||
void QMdiAreaPrivate::showRubberBandFor(QMdiSubWindow *subWindow)
|
void QMdiAreaPrivate::showRubberBandFor(QMdiSubWindow *subWindow)
|
||||||
{
|
{
|
||||||
if (!subWindow || !rubberBand)
|
if (!subWindow || !rubberBand)
|
||||||
@ -1546,7 +1547,7 @@ void QMdiAreaPrivate::showRubberBandFor(QMdiSubWindow *subWindow)
|
|||||||
rubberBand->raise();
|
rubberBand->raise();
|
||||||
rubberBand->show();
|
rubberBand->show();
|
||||||
}
|
}
|
||||||
|
#endif // QT_CONFIG(rubberBand)
|
||||||
/*!
|
/*!
|
||||||
\internal
|
\internal
|
||||||
\since 4.4
|
\since 4.4
|
||||||
|
Loading…
Reference in New Issue
Block a user