aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldebug
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-08-18 10:05:52 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-08-21 18:25:36 +0200
commit5774d9b13b77ab0ac567d78c0a76d5609f758c10 (patch)
treec390ea9719c0ae42e0a586f32eecd1da7d965bd1 /src/qmldebug
parent526a6da895fa772e950dd94c6dae3c013dd6a285 (diff)
Remove outdated #undef QT_NO_FOREACH
There is no foreach in those files anymore. Amends commit 8edbcdbeb49630c207f3111d24b9c9e07029e333. Task-number: QTBUG-115808 Change-Id: I110049a17b17ab4e1c90037125f2615b4612ea1c Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qmldebug')
-rw-r--r--src/qmldebug/CMakeLists.txt2
-rw-r--r--src/qmldebug/qv4debugclient.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/qmldebug/CMakeLists.txt b/src/qmldebug/CMakeLists.txt
index 052c9bfd60..084e90cc19 100644
--- a/src/qmldebug/CMakeLists.txt
+++ b/src/qmldebug/CMakeLists.txt
@@ -34,8 +34,6 @@ qt_internal_add_module(QmlDebugPrivate
qqmlprofilertypedevent.cpp qqmlprofilertypedevent_p.h
qv4debugclient.cpp qv4debugclient_p.h
qv4debugclient_p_p.h
- NO_PCH_SOURCES
- qv4debugclient.cpp # undef QT_NO_FOREACH
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Network
diff --git a/src/qmldebug/qv4debugclient.cpp b/src/qmldebug/qv4debugclient.cpp
index 87f6a67d22..cb05a015a7 100644
--- a/src/qmldebug/qv4debugclient.cpp
+++ b/src/qmldebug/qv4debugclient.cpp
@@ -1,8 +1,6 @@
// Copyright (C) 2018 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 "qv4debugclient_p.h"
#include "qv4debugclient_p_p.h"
#include "qqmldebugconnection_p.h"