Move to id is size_t

This commit is contained in:
2024-10-10 19:47:18 +02:00
parent d02b31ab25
commit 95a21250a6
27 changed files with 132 additions and 148 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
#include "UI_label.hpp"
UI_label::UI_label(std::string id, std::string text, Color fg_color, Color bg_color, QObject *parrent)
: UI_item(id, UI_LABEL_TYPE, text, 12, fg_color, bg_color, parrent)
UI_label::UI_label(std::string text, Color fg_color, Color bg_color, QObject *parrent)
: UI_item(UI_LABEL_TYPE, text, 12, fg_color, bg_color, parrent)
{
}
@@ -15,7 +15,7 @@ void UI_label::from_json(const json &j)
UI_item::from_json(j);
}
json UI_label::to_json() const
json UI_label::to_json(size_t id) const
{
return UI_item::to_json();
return UI_item::to_json(id);
}