New method name in Property class for string value

This commit is contained in:
VLLindqvist
2023-06-12 00:27:02 +02:00
parent f032e9423c
commit 08f3a0790c
3 changed files with 7 additions and 10 deletions

View File

@@ -212,7 +212,7 @@ bool softwareintegration::Session::saveSession(const std::string& wantedFileName
assetFile << INDENT << "{\n"
<< INDENT << INDENT << "GUI = {\n"
<< INDENT << INDENT << INDENT << "Name = " << r->property("Name")->getStringValue() << ",\n"
<< INDENT << INDENT << INDENT << "Name = " << r->property("Name")->stringValue() << ",\n"
<< INDENT << INDENT << INDENT << "Path = \"/Software Integration\"" << "\n"
<< INDENT << INDENT << "},\n"
<< INDENT << INDENT << "Identifier = \"" << identifier << "\",\n"
@@ -237,7 +237,7 @@ bool softwareintegration::Session::saveSession(const std::string& wantedFileName
assetFile << INDENT << INDENT << INDENT
<< p->identifier() << " = ";
std::string valueAsString = p->getStringValue();
std::string valueAsString = p->stringValue();
if (std::string{ p->type().name() }.find("string") == std::string::npos) {
for(