Reformatted the code with clang-format with the Qt clang-format file. I have also added a clang-format checker github action, tested it with committing some misformatted code and it works fine.
Just for posterity I have ran the following command on the sources:
Reformatted the code with clang-format with the Qt clang-format file. I have also added a clang-format checker github action, tested it with committing some misformatted code and it works fine.
Just for posterity I have ran the following command on the sources:
find . -regex '.*\.\(cpp\|h\)' ! -name "*moc*" ! -name "*CMake*" -exec clang-format-6.0 -style=file -i {} \;