QSettings fixed