aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoriteNode.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-03-13 18:50:40 +0000
committerstuconnolly <stuart02@gmail.com>2011-03-13 18:50:40 +0000
commit1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29 (patch)
treef2fc34195718108f7770900994443931b6b8807e /Source/SPFavoriteNode.m
parentc2cf0e39c3c59c3548bf39f0835ac552cdcd23f4 (diff)
downloadsequelpro-1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29.tar.gz
sequelpro-1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29.tar.bz2
sequelpro-1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29.zip
Fix issue related to dragging a node to a group node that is being renamed as well as fix all warnings related to the connection outlinew view.
Diffstat (limited to 'Source/SPFavoriteNode.m')
-rw-r--r--Source/SPFavoriteNode.m7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/SPFavoriteNode.m b/Source/SPFavoriteNode.m
index ee40f61f..a70823f7 100644
--- a/Source/SPFavoriteNode.m
+++ b/Source/SPFavoriteNode.m
@@ -23,10 +23,11 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
+#import "SPTreeNode.h"
#import "SPFavoriteNode.h"
// Constants
-static const NSString *SPFavoriteNodeKey = @"SPFavoriteNode";
+static NSString *SPFavoriteNodeKey = @"SPFavoriteNode";
@implementation SPFavoriteNode
@@ -44,7 +45,7 @@ static const NSString *SPFavoriteNodeKey = @"SPFavoriteNode";
return self;
}
-- (id)initWithDictionary:(NSDictionary *)dictionary
+- (id)initWithDictionary:(NSMutableDictionary *)dictionary
{
if ((self = [self init])) {
[self setNodeFavorite:dictionary];
@@ -53,7 +54,7 @@ static const NSString *SPFavoriteNodeKey = @"SPFavoriteNode";
return self;
}
-+ (SPFavoriteNode *)favoriteNodeWithDictionary:(NSDictionary *)dictionary
++ (SPFavoriteNode *)favoriteNodeWithDictionary:(NSMutableDictionary *)dictionary
{
return [[[self alloc] initWithDictionary:dictionary] autorelease];
}