mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Fix and improve the docs
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com> PR #17034.
This commit is contained in:
parent
538c88ced4
commit
05325b135d
2 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
# Coding Guidelines
|
||||
|
||||
All new code **must** follow the following coding guidelines. \
|
||||
All new code **must** follow the following coding guidelines.
|
||||
|
||||
If you make changes in a file that still uses another coding style, make sure that you follow these guidelines for your changes. \
|
||||
For programming languages other than C++ (e.g. JavaScript) used in this repository and submodules, unless otherwise specified, coding guidelines listed here applies as much as possible.
|
||||
|
||||
|
@ -456,8 +457,8 @@ class ExampleWidget : public QWidget
|
|||
* Prefer pre-increment, pre-decrement operators
|
||||
|
||||
```c++
|
||||
++i, --j; // Yes
|
||||
i++, j--; // No
|
||||
++i, --j; // yes
|
||||
i++, j--; // no
|
||||
```
|
||||
|
||||
* private/public/protected must not be indented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue