aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSplitView.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-05-21 22:53:10 +0000
committerrowanbeentje <rowan@beent.je>2013-05-21 22:53:10 +0000
commit2737ac00c38513d976fda08104a5014221b0c99c (patch)
tree38829f7d5d9982b9648259cae0a269ef1640dd18 /Source/SPSplitView.m
parent9432986de1d25527b133715ab12a8dffc2c5f6b6 (diff)
downloadsequelpro-2737ac00c38513d976fda08104a5014221b0c99c.tar.gz
sequelpro-2737ac00c38513d976fda08104a5014221b0c99c.tar.bz2
sequelpro-2737ac00c38513d976fda08104a5014221b0c99c.zip
- Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to enable some more
Diffstat (limited to 'Source/SPSplitView.m')
-rw-r--r--Source/SPSplitView.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPSplitView.m b/Source/SPSplitView.m
index 4930e171..f89e0dc9 100644
--- a/Source/SPSplitView.m
+++ b/Source/SPSplitView.m
@@ -1090,10 +1090,10 @@
}
// Check for a first responder to restore, using the "true" first responder for field editors
- NSResponder<NSTextDelegate> *firstResponderToRestore = [[self window] firstResponder];
+ NSResponder *firstResponderToRestore = [[self window] firstResponder];
if ([firstResponderToRestore respondsToSelector:@selector(isFieldEditor)] && [(NSText *)firstResponderToRestore isFieldEditor]) {
- firstResponderToRestore = [(NSText *)firstResponderToRestore delegate];
+ firstResponderToRestore = (NSResponder *)[(NSText *)firstResponderToRestore delegate];
}
if (![firstResponderToRestore isKindOfClass:[NSView class]] || ![(NSView *)firstResponderToRestore isDescendantOf:wrappedView]) {
firstResponderToRestore = nil;