qt5base-lts/tests/auto/other
Marc Mutz 5a8464b1f8 tst_QAccessibilityLinux: port away from Q_FOREACH
The single Q_FOREACH use here is simple, as it's over a local variable
that just isn't marked as const due to the way it's constructed, and
the loop body clearly doesn't modify the container, so the protective
copy that Q_FOREACH performs is not needed. But std::as_const() is, to
prevent a detach() (attempt). Add that.

Pick-to: 6.6 6.5
Task-number: QTBUG-115839
Change-Id: If228f649efd87388f6e312078b24a5b46ac8dc36
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: David Faure <david.faure@kdab.com>
2023-08-09 23:57:21 +02:00
..
gestures CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
languagechange CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
macgui CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
macnativeevents CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
macplist CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
networkselftest CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractitemmodelutils DynamicTreeModel test helper: port away from Q_FOREACH 2023-08-08 17:44:56 +00:00
qaccessibility a11y: Report app as parent for top-level item views 2023-07-10 11:34:41 +02:00
qaccessibilitylinux tst_QAccessibilityLinux: port away from Q_FOREACH 2023-08-09 23:57:21 +02:00
qaccessibilitymac CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qcomplextext CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qfocusevent CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkaccessmanager_and_qprogressdialog CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qobjectrace CMake: remove check for cxx11_future 2023-08-02 12:36:18 -07:00
qprocess_and_guieventloop CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qsharedpointer_and_qwidget CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qvariant_common Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sessionmanagement_macos Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
toolsupport CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
xkbkeyboard CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Rid of 'special case' markers 2023-04-13 18:30:58 +02:00