Resolve bug QSettings