From 1e5288e9840e201a00bcb5ca3035d7aa807f1f8d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 7 Mar 2011 20:12:52 +0000 Subject: Bring outline view branch up to date with trunk (r3203:r3224). --- Source/SPServerVariablesController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/SPServerVariablesController.m') diff --git a/Source/SPServerVariablesController.m b/Source/SPServerVariablesController.m index e0796454..dedda57b 100644 --- a/Source/SPServerVariablesController.m +++ b/Source/SPServerVariablesController.m @@ -25,6 +25,7 @@ #import "SPServerVariablesController.h" #import "SPDatabaseDocument.h" +#import "SPAppController.h" @interface SPServerVariablesController (PrivateAPI) @@ -166,7 +167,7 @@ { if (returnCode == NSOKButton) { if ([variablesFiltered count] > 0) { - NSMutableString *variablesString = [NSMutableString stringWithFormat:@"# MySQL server variables for %@\n\n", [[[NSApp delegate] frontDocument] host]]; + NSMutableString *variablesString = [NSMutableString stringWithFormat:@"# MySQL server variables for %@\n\n", [[(SPAppController*)[NSApp delegate] frontDocument] host]]; for (NSDictionary *variable in variablesFiltered) { -- cgit v1.2.3