Fix build without features.action
Change-Id: Ia776cdcb36d07bb89f39c631029458adf2187d90 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
4cb0749250
commit
6b26b2ee03
@ -84,6 +84,7 @@
|
||||
#include <qpa/qplatformscreen.h>
|
||||
#include <private/qguiapplication_p.h>
|
||||
#include <private/qhighdpiscaling_p.h>
|
||||
#include <private/qwidget_p.h>
|
||||
|
||||
#include <private/qstylehelper_p.h>
|
||||
#if QT_CONFIG(animation)
|
||||
|
@ -1986,7 +1986,7 @@ void QMdiSubWindowPrivate::updateActions()
|
||||
for (int i = 0; i < NumWindowStateActions; ++i)
|
||||
setVisible(WindowStateAction(i), false);
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
#if defined(Q_OS_MACOS) && QT_CONFIG(action)
|
||||
if (q_func()->style()->inherits("QMacStyle"))
|
||||
for (int i = 0; i < NumWindowStateActions; ++i)
|
||||
if (QAction *action = actions[i])
|
||||
|
Loading…
Reference in New Issue
Block a user