Fix warnings for -no-feature-dockwidget
Change-Id: Id1f04f9ff6da9bec07068d4ebed15f8bd29105af Reviewed-by: Stephan Binner <stephan.binner@basyskom.com> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
b7febc35da
commit
c20cd4d98e
@ -2432,6 +2432,9 @@ QLayoutItem *QMainWindowLayout::unplug(QWidget *widget, bool group)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !QT_CONFIG(dockwidget) && !QT_CONFIG(tabbar)
|
||||||
|
Q_UNUSED(group);
|
||||||
|
#endif
|
||||||
|
|
||||||
layoutState.unplug(path ,&savedState);
|
layoutState.unplug(path ,&savedState);
|
||||||
savedState.fitLayout();
|
savedState.fitLayout();
|
||||||
|
Loading…
Reference in New Issue
Block a user