--- a/ui/qt/label.cpp Wed Mar 26 20:27:20 2025 +0100 +++ b/ui/qt/label.cpp Wed Mar 26 20:39:04 2025 +0100 @@ -30,22 +30,3 @@ #include "container.h" #include "toolkit.h" -UIWIDGET ui_label(UiObject *obj, char *label) { - QString str = QString::fromUtf8(label); - QLabel *widget = new QLabel(str); - - UiContainer *ct = uic_get_current_container(obj); - ct->add(widget, false); - - return widget; -} - -UIWIDGET ui_space(UiObject *obj) { - // TODO: maybe there is a better widget for this purpose - QLabel *widget = new QLabel(); - - UiContainer *ct = uic_get_current_container(obj); - ct->add(widget, true); - - return widget; -}