From 77514c4d13258a556f7858807a7e6a797fad8682 Mon Sep 17 00:00:00 2001 From: nedko Date: Thu, 4 Dec 2025 15:25:48 +0200 Subject: [PATCH] Added missing things --- main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index cb4d7f8..7a45aa8 100644 --- a/main.cpp +++ b/main.cpp @@ -19,7 +19,7 @@ using std::string; using std::vector; using nlohmann::json; -void init_builders(map& widget_builders) +void init_builders(map& widget_builders) { // widget_builders["name"] = &WidgetName::builder; } @@ -73,6 +73,8 @@ int main(int argc, char **argv) goto cleanup; } + init_builders(widget_builders); + // Add Widgets From JSON if (cfg.contains("widgets") && cfg["widgets"].is_array()) {