Renames the `run` method to `start` in the simulator classes.
This commit is contained in:
2026-02-14 14:32:32 +01:00
parent 1a88e5fc40
commit 326a636122
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -78,7 +78,7 @@ std::string Simulators::active_simulator_name() const
return this->m_current_simulator;
}
void Simulators::run()
void Simulators::start()
{
if (this->m_simulators.empty())
{
@@ -92,7 +92,7 @@ void Simulators::run()
}
m_before = this->m_simulators.at(m_current_simulator)->get_UI_items();
this->m_simulators.at(m_current_simulator)->run();
this->m_simulators.at(m_current_simulator)->start();
}
void Simulators::stop()
@@ -139,7 +139,7 @@ void Simulators::switch_simulator(std::string name)
m_server->broadcast(QString::fromStdString(json.dump()));
}
}, Qt::QueuedConnection);
this->run();
this->start();
}
std::vector<std::string> Simulators::list_simulators() const