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:
Alexander Babikov
2025-12-05 17:44:21 +05:00
parent 11da4936fd
commit fd3a79e526
6 changed files with 17 additions and 20 deletions

View File

@@ -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()
{