Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
psychs committed Jul 30, 2012
1 parent 767a3a8 commit a3e50cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Dialogs/Preferences/PreferencesController.m
Expand Up @@ -539,7 +539,7 @@ - (void)windowWillClose:(NSNotification *)note
[self.window endEditingFor:nil];

[Preferences cleanUpWords];
[[NSUserDefaults standardUserDefaults] synchronize];
[Preferences sync];

if ([delegate respondsToSelector:@selector(preferencesDialogWillClose:)]) {
[delegate preferencesDialogWillClose:self];
Expand Down
1 change: 0 additions & 1 deletion Classes/Preferences/Preferences.m
Expand Up @@ -335,7 +335,6 @@ + (void)setPongInterval:(int)value
{
NSUserDefaults* ud = [NSUserDefaults standardUserDefaults];
[ud setInteger:value forKey:@"Preferences.Advanced.pongInterval"];
[ud synchronize];
}

#pragma mark -
Expand Down

0 comments on commit a3e50cb

Please sign in to comment.