Hello,

Does anyone have any idea why is StelIniParser necessary? I'd like to
hear from its author(s). (Copyright line says Matthew Gates.)

Today I had to modify it slightly to make it work with a certain
feature of QSettings (arrays/subkeys), which made me wonder why it was
created in the first place and why it's used instead of
QSettings::IniFormat.

Is it an encoding issue? Perhaps it was necessary in the early Qt
days, but after Qt 4.5 QSettings supports setting codecs, including
various forms of Unicode:
http://qt-project.org/doc/qt-4.8/qsettings.html#setIniCodec
http://qt-project.org/doc/qt-4.8/qsettings.html#setIniCodec-2

(In turn, custom INI formats were introduced in Qt 4.1, so there's a
high chance my hypothesis is correct. :))

Regards,
Bogdan Marinov

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to