Skip to content

Commit

Permalink
Update Qt coding style configuration and .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ubruhin committed Sep 30, 2018
1 parent 5bf775f commit 9e8fff6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true

[*.{cpp,h,pro}]
indent_size = 4

[{.travis.yml,appveyor.yml}]
indent_size = 2
6 changes: 3 additions & 3 deletions dev/CodingStyle_QtCreator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<value type="bool" key="BindStarToRightSpecifier">false</value>
<value type="bool" key="BindStarToTypeName">true</value>
<value type="bool" key="ExtraPaddingForConditionsIfConfusingAlign">true</value>
<value type="bool" key="IndentAccessSpecifiers">true</value>
<value type="bool" key="IndentAccessSpecifiers">false</value>
<value type="bool" key="IndentBlockBody">true</value>
<value type="bool" key="IndentBlockBraces">false</value>
<value type="bool" key="IndentBlocksRelativeToSwitchLabels">false</value>
Expand All @@ -24,12 +24,12 @@
<value type="bool" key="IndentFunctionBraces">false</value>
<value type="bool" key="IndentNamespaceBody">false</value>
<value type="bool" key="IndentNamespaceBraces">false</value>
<value type="int" key="IndentSize">4</value>
<value type="int" key="IndentSize">2</value>
<value type="bool" key="IndentStatementsRelativeToSwitchLabels">true</value>
<value type="bool" key="IndentSwitchLabels">true</value>
<value type="int" key="PaddingMode">2</value>
<value type="bool" key="SpacesForTabs">true</value>
<value type="int" key="TabSize">4</value>
<value type="int" key="TabSize">2</value>
</valuemap>
</data>
<data>
Expand Down

0 comments on commit 9e8fff6

Please sign in to comment.