Fixed Qsettings error