Fix formatting in generate.sh
Some code used two spaces, while most of the code uses four.
Some parts even used three!
Consistently use four spaces to improve readability.
As a drive-by: add the missing `function` keyword to some function
declarations.
Change-Id: Iadbe23a76af6e131529c085c1de37eb49ac4aab6
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
| commit | 55f247d11137b7526c7d4e8e33a37cba4d9fee08 |
| parent | 09bf1d0797a451bb4f76798cfc60c6316ce12239 |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Tue, 5 Aug 2025 15:15:47 +0200 |