Actually read the server configuration
This commit is contained in:
@@ -97,6 +97,11 @@ void wivrn_server::on_server_properties_changed(const QString & interface_name,
|
|||||||
headsetConnectedChanged(m_headsetConnected = changed_properties["HeadsetConnected"].toBool());
|
headsetConnectedChanged(m_headsetConnected = changed_properties["HeadsetConnected"].toBool());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (changed_properties.contains("JsonConfiguration"))
|
||||||
|
{
|
||||||
|
m_jsonConfiguration = changed_properties["JsonConfiguration"].toString();
|
||||||
|
}
|
||||||
|
|
||||||
if (changed_properties.contains("RecommendedEyeSize"))
|
if (changed_properties.contains("RecommendedEyeSize"))
|
||||||
{
|
{
|
||||||
const auto arg = qvariant_cast<QDBusArgument>(changed_properties["RecommendedEyeSize"]);
|
const auto arg = qvariant_cast<QDBusArgument>(changed_properties["RecommendedEyeSize"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user