From 9d22204a919b306acd083a80cd1b47f4a5e11d14 Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Wed, 3 Aug 2022 12:06:03 +0200 Subject: [PATCH] Fix formating style --- .clang-format | 8 ++++---- Src/Interfaces/ENUMS.h | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index 2b27bb2..b3b525e 100644 --- a/.clang-format +++ b/.clang-format @@ -32,13 +32,13 @@ BreakBeforeBraces: Custom BraceWrapping: AfterClass: true AfterControlStatement: false - AfterEnum: false + AfterEnum: true AfterFunction: true AfterNamespace: true - AfterObjCDeclaration: false + AfterObjCDeclaration: true AfterStruct: true - AfterUnion: false - AfterExternBlock: false + AfterUnion: true + AfterExternBlock: true BeforeCatch: false BeforeElse: false IndentBraces: false diff --git a/Src/Interfaces/ENUMS.h b/Src/Interfaces/ENUMS.h index f5f0039..ff9275f 100644 --- a/Src/Interfaces/ENUMS.h +++ b/Src/Interfaces/ENUMS.h @@ -7,7 +7,8 @@ class BT_INTERFACES_API ENUMS : public QObject { Q_OBJECT public: - enum CONTROLLERTYPE : unsigned int { + enum CONTROLLERTYPE : unsigned int + { NO_CTR, MAINWINDOW, TEXTUREOBJECT, @@ -26,7 +27,8 @@ public: }; Q_ENUM(CONTROLLERTYPE) - enum COREPERMISSIONS : unsigned int { + enum COREPERMISSIONS : unsigned int + { COMPONENTVIEW, COMPONENTMOVE, COMPONENTREMOVE, -- GitLab