Use early return to save one indentation level
* This helps to keep the code organized
when it is extended in subsequent commits.
* It also amends 454393ec18 to remove unused group var.
Task-number: QTBUG-148476
Pick-to: 6.12 6.11
Change-Id: I4ee6823cacc35f292eaff1fd7457757cb42d7c47
Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
Reviewed-by: Vladimir Belyavsky <belyavskyv@gmail.com>
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
| commit | 4ad207e127fe7b8a52afcc452abf04e1383af006 |
| parent | 5a371b0a1807bc6aacc5ce92c154b16b369c155b |
| author | Lars Schmertmann <Lars.Schmertmann@governikus.de> |
| committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> |
| commit time | Mon, 27 Jul 2026 12:32:31 +0000 |