qsettings save should work not tested well