public List <OutputPattern> Convert(ISettingsHandler settings, bool removeLegacyEntries = true) { var patterns = Load(settings, settings.Get <string>(_names.LastRunVersion)); if (removeLegacyEntries) { var n = LegacyConfigEntries.Instance; settings.Delete(n.PatternFileNames); settings.Delete(n.Patterns); settings.Delete(n.SaveEvents); settings.Delete(n.PatternShowInOsu); settings.Delete(n.PatternX); settings.Delete(n.PatternY); settings.Delete(n.PatternColor); settings.Delete(n.PatternFontName); settings.Delete(n.PatternFontSize); settings.Delete(n.PatternIsMemory); } return(patterns); }