Actually read the server configuration

This commit is contained in:
Guillaume Meunier
2024-10-02 21:35:48 +02:00
parent 119681cf7c
commit 2c6ca54c88
+5
View File
@@ -97,6 +97,11 @@ void wivrn_server::on_server_properties_changed(const QString & interface_name,
headsetConnectedChanged(m_headsetConnected = changed_properties["HeadsetConnected"].toBool());
}
if (changed_properties.contains("JsonConfiguration"))
{
m_jsonConfiguration = changed_properties["JsonConfiguration"].toString();
}
if (changed_properties.contains("RecommendedEyeSize"))
{
const auto arg = qvariant_cast<QDBusArgument>(changed_properties["RecommendedEyeSize"]);