Move leds to custom led class

This commit is contained in:
2026-02-01 19:01:19 +01:00
parent 7a8398c743
commit f238594e5d
8 changed files with 61 additions and 15 deletions
+1 -1
View File
@@ -408,7 +408,7 @@ void SimulatorBase::process_ui_led(json& uiItem)
return;
}
auto led = qobject_cast<QPushButton*>(widget);
auto led = qobject_cast<Led*>(widget);
if (led == nullptr)
{
QD << "widget is not of type led";