Switched from json to QSettings