mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 20:35:32 -07:00
Reflect language and color scheme changes in global config in manager and all its VMs
This commit is contained in:
@@ -1081,6 +1081,7 @@ VMManagerSystem::startServer() {
|
||||
connect(socket_server, &VMManagerServerSocket::windowStatusChanged, this, &VMManagerSystem::windowStatusChangeReceived);
|
||||
connect(socket_server, &VMManagerServerSocket::runningStatusChanged, this, &VMManagerSystem::runningStatusChangeReceived);
|
||||
connect(socket_server, &VMManagerServerSocket::configurationChanged, this, &VMManagerSystem::configurationChangeReceived);
|
||||
connect(socket_server, &VMManagerServerSocket::globalConfigurationChanged, this, &VMManagerSystem::globalConfigurationChanged);
|
||||
connect(socket_server, &VMManagerServerSocket::winIdReceived, this, [this] (WId id) { this->id = id; });
|
||||
return true;
|
||||
} else {
|
||||
@@ -1124,6 +1125,12 @@ VMManagerSystem::getDisplayValue(Display::Name key)
|
||||
return (display_table.contains(key)) ? display_table[key] : "";
|
||||
}
|
||||
|
||||
void
|
||||
VMManagerSystem::sendGlobalConfigurationChanged()
|
||||
{
|
||||
socket_server->serverSendMessage(VMManagerProtocol::ManagerMessage::GlobalConfigurationChanged);
|
||||
}
|
||||
|
||||
void
|
||||
VMManagerSystem::shutdownRequestButtonPressed()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user