Fix warnings for -no-feature-dockwidget

This amends commit c20cd4d98e

Change-Id: I2fa903209694cd05e0dcf31e6f92d96ed934c91d
Reviewed-by: Stephan Binner <stephan.binner@basyskom.com>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Nikita Krupenko 2017-03-30 22:46:02 +03:00 committed by Stephan Binner
parent e9af32fcd4
commit 8675e1c5ee

View File

@ -2432,7 +2432,7 @@ QLayoutItem *QMainWindowLayout::unplug(QWidget *widget, bool group)
}
#endif
#if !QT_CONFIG(dockwidget) && !QT_CONFIG(tabbar)
#if !QT_CONFIG(dockwidget) || !QT_CONFIG(tabbar)
Q_UNUSED(group);
#endif