From 8675e1c5ee7d1209784a2320f1ae3f486b1eaae4 Mon Sep 17 00:00:00 2001 From: Nikita Krupenko Date: Thu, 30 Mar 2017 22:46:02 +0300 Subject: [PATCH] Fix warnings for -no-feature-dockwidget This amends commit c20cd4d98ea43275bd8859581e273d69a90c3413 Change-Id: I2fa903209694cd05e0dcf31e6f92d96ed934c91d Reviewed-by: Stephan Binner Reviewed-by: Ulf Hermann --- src/widgets/widgets/qmainwindowlayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/widgets/qmainwindowlayout.cpp b/src/widgets/widgets/qmainwindowlayout.cpp index d15af3505b..d31fa3ddfa 100644 --- a/src/widgets/widgets/qmainwindowlayout.cpp +++ b/src/widgets/widgets/qmainwindowlayout.cpp @@ -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