aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowAdditions.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-01-25 21:03:35 +0000
committerstuconnolly <stuart02@gmail.com>2013-01-25 21:03:35 +0000
commit23833c899c531705557443da649c1f13701dc197 (patch)
treefc949bda39b7532841a47b502ceb1ccd1c436538 /Source/SPWindowAdditions.m
parentb442a9920d8e873c4df7b84799aa49e551922e2d (diff)
downloadsequelpro-23833c899c531705557443da649c1f13701dc197.tar.gz
sequelpro-23833c899c531705557443da649c1f13701dc197.tar.bz2
sequelpro-23833c899c531705557443da649c1f13701dc197.zip
Fix more warnings.
Diffstat (limited to 'Source/SPWindowAdditions.m')
-rw-r--r--Source/SPWindowAdditions.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPWindowAdditions.m b/Source/SPWindowAdditions.m
index 9cec1a7c..6966b311 100644
--- a/Source/SPWindowAdditions.m
+++ b/Source/SPWindowAdditions.m
@@ -82,9 +82,9 @@
*/
- (void)swipeWithEvent:(NSEvent *)event
{
- if (![[self delegate] isKindOfClass:[SPWindowController class]] || ![[[self delegate] documents] count]) return;
+ if (![[self delegate] isKindOfClass:[SPWindowController class]] || ![[(SPWindowController *)[self delegate] documents] count]) return;
- id frontDoc = [[self delegate] selectedTableDocument];
+ id frontDoc = [(SPWindowController *)[self delegate] selectedTableDocument];
if (frontDoc && [frontDoc isKindOfClass:[SPDatabaseDocument class]] && [frontDoc valueForKeyPath:@"spHistoryControllerInstance"] && ![frontDoc isWorking])
{