Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.4.0
-
None
Description
A customer requests for QSettings to handle comma separated listed values without double quotes. He believes it should be just a flag.
Otherwise, you need to write a new reader and writer to manage that and register that using QSettings::registerFormat. Even after this, value() returns listed data comma separated, making parsing really difficult.
So he requests for:
1) Option for quoting listed values on/off switch
2) See the comment character customizable (like # or ; or : and so on). Commented lines should not be retrieved after value() and contain() and such calls.
What he expected to see:
[Blah]
boo=1,2,3
returned as
.value("boo").toString() == "1,2,3"
What he got instead:
[Blah]
boo=1,2,3
returned as
.value("boo").toString() == "\"1,2,3\""