summaryrefslogtreecommitdiff
path: root/Bootstrap.cxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-08 09:07:04 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-08 09:07:04 +0800
commit40f101962e089210f299a99ac5b1b02750b8502f (patch)
tree592859d32c0adce20ec0f4d4c2059af25c34a446 /Bootstrap.cxx
parent57701c90c21109a966cf14c223461dc115930033 (diff)
Tidy up a bit
Diffstat (limited to 'Bootstrap.cxx')
-rw-r--r--Bootstrap.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/Bootstrap.cxx b/Bootstrap.cxx
index 5d6a2ce..c515e34 100644
--- a/Bootstrap.cxx
+++ b/Bootstrap.cxx
@@ -3,13 +3,12 @@
#define APPEND_COLORS(A, B) \
colors = toml_array_in(bootstrap, A);\
- if (colors)\
- for (int i = 0; ; i++) {\
- auto color = toml_string_at(colors, i);\
- if (!color.ok) break;\
- B.append(QColor{color.u.s});\
- free(color.u.s);\
- }
+ if (colors) for (int i = 0; ; i++) {\
+ auto color = toml_string_at(colors, i);\
+ if (!color.ok) break;\
+ B.append(QColor{color.u.s});\
+ free(color.u.s);\
+ }
Bootstrap::Bootstrap(QObject *parent):
QObject{parent},