From 03041f0aff666a8a7cbf88905be3e4afc60f385a Mon Sep 17 00:00:00 2001 From: Uwe Date: Wed, 27 Jul 2022 16:05:39 +0200 Subject: [PATCH] [Sketcher] [skip CI] CommandCreateGeo: code style fix - the MSVC IDE had problems with this, thus apply our .clang style --- src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp b/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp index dc1ccd681e..7fc6292432 100644 --- a/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp +++ b/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp @@ -91,21 +91,21 @@ using namespace std; using namespace SketcherGui; -#define CONSTRUCTION_UPDATE_ACTION(CLASS,ICON) \ +#define CONSTRUCTION_UPDATE_ACTION(CLASS, ICON) \ /* This macro creates an updateAction() function that will toggle between normal & construction icon */ \ - void CLASS::updateAction(int mode) \ - { \ - auto act = getAction(); \ - if (act) { \ - switch (mode) { \ - case Normal: \ - act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON)); \ - break; \ - case Construction: \ - act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON"_Constr")); \ - break; \ - } \ - } \ + void CLASS::updateAction(int mode) \ + { \ + auto act = getAction(); \ + if (act) { \ + switch (mode) { \ + case Normal: \ + act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON)); \ + break; \ + case Construction: \ + act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON "_Constr")); \ + break; \ + } \ + } \ } namespace SketcherGui {