SettingsWindow use a reference to QSettings rather than pointer.