The single use of Q_FOREACH in this test is safe to port 1:1 to a ranged for-loop, since we're in a constructor, and the loop body only calls member functions of data members (incl. the base class), so we cannot possibly modify the container passed in as a constructor argument: any connections or event processing that could re-enter our caller hasn't been set up, yet. Task-number: QTBUG-115803 Change-Id: I7095aef1edddbda0d1b0c471192b18acd6fd1793 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| tst_qgesturerecognizer.cpp | ||