mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 10:28:19 -07:00
Manager: Simplify the connection chain for the configuration refresh signals
This allows refreshing the config without redrawing the entire details pane Also refresh the config and screenshots on VM termination
This commit is contained in:
@@ -449,6 +449,8 @@ VMManagerSystem::launchMainProcess()
|
||||
tr("The virtual machine \"%1\"'s process has unexpectedly terminated with exit code %2.").arg(displayName, QString("%1 (0x%2)").arg(QString::number(exitCode), QString::number(exitCode, 16))));
|
||||
return;
|
||||
}
|
||||
|
||||
configurationChangeReceived();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1241,8 +1243,9 @@ void
|
||||
VMManagerSystem::configurationChangeReceived()
|
||||
{
|
||||
reloadConfig();
|
||||
emit configurationChanged(this->uuid);
|
||||
emit configurationChanged(this);
|
||||
}
|
||||
|
||||
void
|
||||
VMManagerSystem::reloadConfig()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user