mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
fixes for wasm client
- ui_enum - spdlog pthread - url hostname from emscripten - websocket ping pong not exposed on js - version string in client - cleanup the generation of the version string - set fixed path for wasm ws
This commit is contained in:
+4
-3
@@ -29,9 +29,10 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication a(argc, argv);
|
||||
|
||||
QCommandLineParser parser;
|
||||
parser.setApplicationDescription("unisim_cpp server\n\tversion: " + QString::fromStdString(Git_version::branch) +
|
||||
"-" + QString::fromStdString(Git_version::shortSha1) +
|
||||
QString::fromStdString(Git_version::dirty ? "-dirty" : ""));
|
||||
parser.setApplicationDescription(QString("unisim_cpp server\n\tVersion: %1-%2%3")
|
||||
.arg(Git_version::branch)
|
||||
.arg(Git_version::shortSha1)
|
||||
.arg(Git_version::dirty ? "-dirty" : ""));
|
||||
parser.addHelpOption();
|
||||
|
||||
QCommandLineOption port_option(QStringList() << "p"
|
||||
|
||||
@@ -215,8 +215,8 @@ json Simulators::changed_UI_items()
|
||||
json changed;
|
||||
changed["event"]["type"] = "ui_changed";
|
||||
|
||||
const auto& ui_items = after["UI_items"];
|
||||
const auto& prev_ui_items = m_before["UI_items"]; // may be null on first call
|
||||
const auto &ui_items = after["UI_items"];
|
||||
const auto &prev_ui_items = m_before["UI_items"]; // may be null on first call
|
||||
|
||||
const size_t count = ui_items.size();
|
||||
for (size_t i = 0; i < count; ++i)
|
||||
|
||||
Reference in New Issue
Block a user