Show server error on GUI (encoders currently)

This commit is contained in:
Patrick Nicolas
2025-10-05 20:26:07 +02:00
parent 98fc4ad4bb
commit aca45420dd
7 changed files with 152 additions and 101 deletions
+1
View File
@@ -257,6 +257,7 @@ void wivrn_server::on_server_dbus_registered()
server_properties_interface = std::make_unique<OrgFreedesktopDBusPropertiesInterface>("io.github.wivrn.Server", "/io/github/wivrn/Server", QDBusConnection::sessionBus(), this);
connect(server_properties_interface.get(), &OrgFreedesktopDBusPropertiesInterface::PropertiesChanged, this, &wivrn_server::on_server_properties_changed);
connect(server_interface.get(), &IoGithubWivrnServerInterface::ServerError, [this](const QString & w, const QString & m) { serverError(serverErrorData(w, m)); });
serverStatusChanged(m_serverStatus = Status::Started);
refresh_server_properties();