Profile: ensure a profile is invalid if the GVAS underneath is too.

This commit is contained in:
Guillaume Jacquemin 2022-11-21 18:58:57 +01:00
parent 7257b9865c
commit fb6246cff7

View file

@ -35,6 +35,7 @@ Profile::Profile(Containers::StringView path):
{ {
if(!_profile.valid()) { if(!_profile.valid()) {
_lastError = _profile.lastError(); _lastError = _profile.lastError();
_valid = false;
return; return;
} }