change from sim_name to name
This commit is contained in:
2026-02-14 14:31:26 +01:00
parent 34acefde6a
commit 1032e9ed28
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -24,9 +24,9 @@ class Simulator_base : public QMainWindow
{
Q_OBJECT
public:
explicit Simulator_base(QString sim_name, Web_socket_wrapper *api, QWidget *parent = nullptr);
explicit Simulator_base(QString name, Web_socket_wrapper *api, QWidget *parent = nullptr);
void sim_update(void);
QString sim_name() const;
QString name() const;
QWidget *id_to_ui(size_t id);
virtual QLabel *id_to_label(size_t name)
{
@@ -77,7 +77,7 @@ class Simulator_base : public QMainWindow
private:
Web_socket_wrapper *m_web_socket;
QString m_sim_name;
QString m_name;
QTimer *m_timer_update;
uint32_t m_refresh_rate;