diff --git a/UI/ui_item.cpp b/UI/ui_item.cpp index 2d1b3cd..09fb754 100644 --- a/UI/ui_item.cpp +++ b/UI/ui_item.cpp @@ -12,11 +12,6 @@ UI_item::UI_item(std::string type, QObject *parent) { } -UI_item::UI_item(const json &j, QObject *parent) : QObject(parent) -{ - from_json(j); -} - std::string UI_item::type() const { return m_type; diff --git a/UI/ui_item.hpp b/UI/ui_item.hpp index 0224e0d..e6edf42 100644 --- a/UI/ui_item.hpp +++ b/UI/ui_item.hpp @@ -35,13 +35,6 @@ class UI_item : public QObject * @param parent The parent QObject */ explicit UI_item(std::string type, std::string text, Color fg_color, Color bg_color, QObject *parent = nullptr); - /** - * @brief Construct a new UI item object from JSON - * - * @param j The JSON object - * @param parent The parent QObject - */ - explicit UI_item(const json &j, QObject *parent = nullptr); /** * @brief Get the type of the UI item