Hi all,
I am getting bizarre behaviour from QSettings
I want to use it with an ini file.
so I do something like this
Now if I have a first "section"( beginning with [Env]) then all settings in that section are ignored: reading with m_settings->value(...) returns the "fallback" value.Qt Code:
To copy to clipboard, switch view to plain text mode
The following sections are properly read however
Now if I precede by first section with a comment starting with # then mysteriously all settings in that ini file are read properly.
Is this a bug or a feature or is a Byte Order Mark doing its dirty work here?
Bookmarks