change id_to_label to use qwidget pointer instead of id
This commit is contained in:
2026-02-14 14:32:11 +01:00
parent 8bf7c6fd79
commit 1c40f8e9c5
4 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -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;
}