work on qsettings issue #111