aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-01-07 00:07:36 +0100
committerMax <post@wickenrode.com>2015-01-07 00:07:36 +0100
commit69b519cb18762cd1b1596d50346f24e233cb8e29 (patch)
treef864279afaf453c0a6eefd2a6011fa95135b5304 /Source/SPPreferenceController.m
parente1ab6340b39b1e7756b7c70f3b1b4077f1bff29a (diff)
downloadsequelpro-69b519cb18762cd1b1596d50346f24e233cb8e29.tar.gz
sequelpro-69b519cb18762cd1b1596d50346f24e233cb8e29.tar.bz2
sequelpro-69b519cb18762cd1b1596d50346f24e233cb8e29.zip
Fix some warnings
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r--Source/SPPreferenceController.m10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m
index 36954bc8..fad1d95b 100644
--- a/Source/SPPreferenceController.m
+++ b/Source/SPPreferenceController.m
@@ -128,14 +128,14 @@
[prefs setObject:[NSArchiver archivedDataWithRootObject:font] forKey:SPGlobalResultTableFont];
- [(SPTablesPreferencePane *)tablesPreferencePane updateDisplayedTableFontName];
+ [tablesPreferencePane updateDisplayedTableFontName];
break;
case SPPrefFontChangeTargetEditor:
font = [[NSFontPanel sharedFontPanel] panelConvertFont:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:SPCustomQueryEditorFont]]];
[prefs setObject:[NSArchiver archivedDataWithRootObject:font] forKey:SPCustomQueryEditorFont];
- [(SPEditorPreferencePane *)editorPreferencePane updateDisplayedEditorFontName];
+ [editorPreferencePane updateDisplayedEditorFontName];
break;
}
}
@@ -231,6 +231,12 @@
- (void)dealloc
{
SPClear(preferencePanes);
+ SPClear(generalItem);
+ SPClear(tablesItem);
+ SPClear(notificationsItem);
+ SPClear(editorItem);
+ SPClear(autoUpdateItem);
+ SPClear(networkItem);
[super dealloc];
}