aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/qquickturbulence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particles/qquickturbulence.cpp')
-rw-r--r--src/particles/qquickturbulence.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/particles/qquickturbulence.cpp b/src/particles/qquickturbulence.cpp
index a507e153f5..ff892983f6 100644
--- a/src/particles/qquickturbulence.cpp
+++ b/src/particles/qquickturbulence.cpp
@@ -1,6 +1,8 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+#undef QT_NO_FOREACH // this file contains unported legacy Q_FOREACH uses
+
#include "qquickturbulence_p.h"
#include "qquickparticlepainter_p.h"//TODO: Why was this needed again?
#include <cmath>