GH-997 fix saving of settings values with special characters
Values are now escaped properly
This commit is contained in:
parent
2dcedcfde3
commit
2f087b55b9
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ bool INIFile::saveFile(QString fileName)
|
|||
value = escape(value);
|
||||
outArray.append(iter.key().toUtf8());
|
||||
outArray.append('=');
|
||||
outArray.append(iter.value().toString().toUtf8());
|
||||
outArray.append(value.toUtf8());
|
||||
outArray.append('\n');
|
||||
}
|
||||
if(file.write(outArray) != outArray.size())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue