diff options
author | Max <post@wickenrode.com> | 2014-12-13 17:20:18 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2014-12-13 17:20:18 +0100 |
commit | 994057ae2a82dc110a385ced4239ce49cc0601f8 (patch) | |
tree | d874e74e189f14eb1044daad31df88ec562776d2 /Source/SPContentFilterManager.m | |
parent | 3cf0254e55d558565775e6cb20d36ea7e54beca1 (diff) | |
download | sequelpro-994057ae2a82dc110a385ced4239ce49cc0601f8.tar.gz sequelpro-994057ae2a82dc110a385ced4239ce49cc0601f8.tar.bz2 sequelpro-994057ae2a82dc110a385ced4239ce49cc0601f8.zip |
Add cast for [NSApp delegate]
* (Also changed some outdated URLs)
* Replaced [NSApplication sharedApplication] with NSApp
Diffstat (limited to 'Source/SPContentFilterManager.m')
-rw-r--r-- | Source/SPContentFilterManager.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m index c08e84b9..ea7c49b1 100644 --- a/Source/SPContentFilterManager.m +++ b/Source/SPContentFilterManager.m @@ -37,6 +37,7 @@ #import "SPTableContent.h" #import "SPConnectionController.h" #import "SPSplitView.h" +#import "SPAppController.h" static NSString *SPExportFilterAction = @"SPExportFilter"; @@ -404,7 +405,7 @@ static NSString *SPExportFilterAction = @"SPExportFilter"; [cf release]; // Inform all opened documents to update the query favorites list - for(id doc in [[NSApp delegate] orderedDocuments]) + for(id doc in [SPAppDelegate orderedDocuments]) if([[doc valueForKeyPath:@"tableContentInstance"] respondsToSelector:@selector(setCompareTypes:)]) [[doc valueForKeyPath:@"tableContentInstance"] setCompareTypes:nil]; #endif |