mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
client
change id_to_label to use qwidget pointer instead of id
This commit is contained in:
@@ -26,8 +26,9 @@ class Simulator_base : public QMainWindow
|
||||
void sim_update(void);
|
||||
QString name() const;
|
||||
QWidget *id_to_ui(size_t id);
|
||||
virtual QLabel *id_to_label(size_t name)
|
||||
virtual QLabel *id_to_label(QWidget *widget)
|
||||
{
|
||||
Q_UNUSED(widget);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user