mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
client
change from sim_name to name
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user