aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPServerVariablesController.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-03-01 19:38:23 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-03-01 19:38:23 +0000
commit761a00170b4a511e4dd615a208da1ee93a6b1a1e (patch)
tree57531ed23925153b42f76e3b510a895108ae22ce /Source/SPServerVariablesController.m
parent4ffd7b043ca505e52b7f1c5a463e02534997c197 (diff)
downloadsequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.gz
sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.bz2
sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.zip
fixed compiler warnings
Diffstat (limited to 'Source/SPServerVariablesController.m')
-rw-r--r--Source/SPServerVariablesController.m3
1 files changed, 2 insertions, 1 deletions
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)
{