mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Move leds to custom led class
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user