mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 18:08:20 -07:00
Reflect language and color scheme changes in global config in manager and all its VMs
This commit is contained in:
@@ -95,6 +95,8 @@ VMManagerProtocol::getClientMessageType(const QJsonObject &json_document)
|
||||
return VMManagerProtocol::ClientMessage::ConfigurationChanged;
|
||||
} else if (message_type == "WinIdMessage") {
|
||||
return VMManagerProtocol::ClientMessage::WinIdMessage;
|
||||
} else if (message_type == "GlobalConfigurationChanged") {
|
||||
return VMManagerProtocol::ClientMessage::GlobalConfigurationChanged;
|
||||
}
|
||||
return VMManagerProtocol::ClientMessage::UnknownMessage;
|
||||
}
|
||||
@@ -119,6 +121,8 @@ VMManagerProtocol::getManagerMessageType(const QJsonObject &json_document)
|
||||
return VMManagerProtocol::ManagerMessage::RequestShutdown;
|
||||
} if (message_type == "ForceShutdown") {
|
||||
return VMManagerProtocol::ManagerMessage::ForceShutdown;
|
||||
} if (message_type == "GlobalConfigurationChanged") {
|
||||
return VMManagerProtocol::ManagerMessage::GlobalConfigurationChanged;
|
||||
}
|
||||
return VMManagerProtocol::ManagerMessage::UnknownMessage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user