OpenMW/openmw — pull request #90 by graffy76 (2014-05-06 12:43:55+00:00)
Title: Incorporated QSettings into user settings

Several changes occurred. Incorporating QSettings eliminated a lot of code from CSMSettings::UserSettings and CSMSettings::SettingManager. In the end, I rolled SettingManager back in to UserSettings. Originally separated the two to make the framework useful as a component.

Also, implementing QSettings forced some changes on the config file structure. Specifically, in order to bring it in line with the ini specification (according to Qt's IniCodec), the config file name was changed to opencs.ini. Also, whitespace isn't directly supported, so the codec automatically inserts "%20" into setting and section names that contain whitespace. This does not appear to be a problem for ini files that do not escape whitespace, however. In my testing, QSettings loads correctly, whether or not whitespace is escaped with "%20".