Coerce QSetting unicode to int.