summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qwidgetanimator_p.h
diff options
context:
space:
mode:
authorNick Shaforostov <mshaforostov@airmusictech.com>2019-05-03 12:30:49 +0200
committerNick Shaforostov <mshaforostov@airmusictech.com>2019-05-05 09:14:48 +0000
commit4d5fb551d6bcf32d74459ab378c231914c48ab10 (patch)
tree6feeceaacad8bfea6e2c40e3a643941e665bfda6 /src/widgets/widgets/qwidgetanimator_p.h
parent835c3e94f6089751421a19008d442faec9649ed8 (diff)
fix compilation with various -no-feature-* options
Change-Id: Ic1975db497613e3efe50be4246c167efe10d8e31 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/widgets/widgets/qwidgetanimator_p.h')
-rw-r--r--src/widgets/widgets/qwidgetanimator_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/widgets/qwidgetanimator_p.h b/src/widgets/widgets/qwidgetanimator_p.h
index 920cc3ffc8..9d08d03593 100644
--- a/src/widgets/widgets/qwidgetanimator_p.h
+++ b/src/widgets/widgets/qwidgetanimator_p.h
@@ -81,7 +81,9 @@ private Q_SLOTS:
private:
typedef QHash<QWidget*, QPointer<QPropertyAnimation> > AnimationMap;
AnimationMap m_animation_map;
+#if QT_CONFIG(mainwindow)
QMainWindowLayout *m_mainWindowLayout;
+#endif
};
QT_END_NAMESPACE