This will allow to add code conditional on the Qt Creator version to the
plugin codebase. The Qt Creator version will be passed from the build
script automatically. This will also allow to easily extend the Github
Actions job matrix to create releases for more than one Qt Creator
version.
Using QT_VERSION_CHECK allows to reuse existing Qt patterns of checking
versions.
Code has been tested by invoking QODEASSIST_QT_CREATOR_VERSION in code.
Currently on Linux most dialogs follow the following order of action
buttons: "OK", "Cancel" (left to right). However, several dialogs are
constructed explicitly and don't follow this convention.
This commit fixes this discrepancy.
Fixes: https://github.com/Palm1r/QodeAssist/issues/83
This commit is a result of the following commands:
clang-format-19 --style=file -i $(git ls-files | fgrep .cpp)
clang-format-19 --style=file -i $(git ls-files | fgrep .hpp)