aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-03-01 21:00:55 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-03-01 21:00:55 +0000
commitcd09dcd69813400b098b9f019a558efb11e6c8b2 (patch)
tree930e4c45038ec9f0258106608ad47af34fec8ca8 /Source/SPConnectionController.m
parentf1db829abc716f0cc498c0dabe8ecb1375dfa312 (diff)
downloadsequelpro-cd09dcd69813400b098b9f019a558efb11e6c8b2.tar.gz
sequelpro-cd09dcd69813400b098b9f019a558efb11e6c8b2.tar.bz2
sequelpro-cd09dcd69813400b098b9f019a558efb11e6c8b2.zip
fixed compiler warnings
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index 41f44a1d..286960bc 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -34,6 +34,8 @@
#import "SPSSHTunnel.h"
#import "SPFavoriteNode.h"
#import "SPTableTextFieldCell.h"
+#import "SPGeneralPreferencePane.h"
+#import "SPDatabaseViewController.h"
@interface SPConnectionController (PrivateAPI)
@@ -85,7 +87,7 @@
*/
- (id) initWithDocument:(SPDatabaseDocument *)theTableDocument
{
- if (self = [super init]) {
+ if ((self = [super init])) {
tableDocument = theTableDocument;
databaseConnectionSuperview = [tableDocument databaseView];
databaseConnectionView = [tableDocument valueForKey:@"contentViewSplitter"];