mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 01:41:19 +00:00
Add BraceWrapping rules (#3066)
This commit is contained in:
@@ -4,3 +4,13 @@ IndentWidth: 4
|
||||
AccessModifierOffset: -4
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
AlwaysBreakAfterReturnType: None
|
||||
|
||||
BreakBeforeBraces: Custom
|
||||
BraceWrapping:
|
||||
AfterClass: true
|
||||
AfterStruct: true
|
||||
AfterEnum: true
|
||||
AfterFunction: true
|
||||
SplitEmptyFunction: false
|
||||
SplitEmptyRecord: false
|
||||
SplitEmptyNamespace: false
|
||||
|
||||
@@ -25,7 +25,10 @@ class AbstractLogger;
|
||||
* `KEY` is the name of the generated getter function.
|
||||
*/
|
||||
#define CONFIG_GETTER(KEY, TYPE) \
|
||||
TYPE KEY() { return value(QStringLiteral(#KEY)).value<TYPE>(); }
|
||||
TYPE KEY() \
|
||||
{ \
|
||||
return value(QStringLiteral(#KEY)).value<TYPE>(); \
|
||||
}
|
||||
|
||||
/**
|
||||
* Declare and implement a setter for a config option. `FUNC` is the name of the
|
||||
|
||||
Reference in New Issue
Block a user