MCPcopy Create free account
hub / github.com/audacity/audacity / Commit

Method Commit

src/prefs/ThemePrefs.cpp:221–230  ·  view source on GitHub ↗

Update the preferences stored on disk.

Source from the content-addressed store, hash-verified

219
220/// Update the preferences stored on disk.
221bool ThemePrefs::Commit()
222{
223 ShuttleGui S(this, eIsSavingToPrefs);
224 PopulateOrExchange(S);
225
226 theTheme.LoadPreferredTheme();
227 theTheme.DeleteUnusedThemes();
228 AColor::ApplyUpdatedImages();
229 return true;
230}
231
232void ThemePrefs::Cancel()
233{

Callers

nothing calls this directly

Calls 3

LoadPreferredThemeMethod · 0.80
DeleteUnusedThemesMethod · 0.80
PopulateOrExchangeFunction · 0.50

Tested by

no test coverage detected