Build viewer/editor #13

Manually merged
williamjcm merged 128 commits from mass-viewer into master 2022-03-02 14:50:10 +01:00
Showing only changes of commit bd255ef8d5 - Show all commits

View file

@ -48,6 +48,8 @@ Profile::Profile(const std::string& path):
_steamId = Utility::String::ltrim(Utility::String::rtrim(_filename, ".sav"), (_type == ProfileType::Demo ? "Demo" : "") + std::string{"Profile"});
refreshValues();
_valid = _profile.valid();
}
@ -74,6 +76,7 @@ auto Profile::steamId() const -> std::string const& {
void Profile::refreshValues() {
if(!_profile.reloadData()) {
_lastError = _profile.lastError();
_valid = false;
return;
}