aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-10-28 15:35:40 +0000
committerstuconnolly <stuart02@gmail.com>2010-10-28 15:35:40 +0000
commitf48b5ba6410a5d449fad026e870e2c3e5e0fcf53 (patch)
treea358fb72201d9c70f2a7d05909cab9fc7eabe8c0 /Source/SPCustomQuery.m
parentc48e2762b6906f4751f9918af379d01b42647e46 (diff)
downloadsequelpro-f48b5ba6410a5d449fad026e870e2c3e5e0fcf53.tar.gz
sequelpro-f48b5ba6410a5d449fad026e870e2c3e5e0fcf53.tar.bz2
sequelpro-f48b5ba6410a5d449fad026e870e2c3e5e0fcf53.zip
Add SPDefaultPasteboardDragType constant.
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r--Source/SPCustomQuery.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 203f9ae6..31ff02d7 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -2128,9 +2128,9 @@
if ( aTableView == queryFavoritesView ) {
if ([pboardTypes count] == 1 && row != -1)
{
- if ([[pboardTypes objectAtIndex:0] isEqualToString:@"SequelProPasteboard"]==YES && operation==NSTableViewDropAbove)
+ if ([[pboardTypes objectAtIndex:0] isEqualToString:SPDefaultPasteboardDragType]==YES && operation==NSTableViewDropAbove)
{
- originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue];
+ originalRow = [[[info draggingPasteboard] stringForType:SPDefaultPasteboardDragType] intValue];
if (row != originalRow && row != (originalRow+1))
{
@@ -2151,7 +2151,7 @@
NSMutableDictionary *draggedRow;
if ( aTableView == queryFavoritesView ) {
- originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue];
+ originalRow = [[[info draggingPasteboard] stringForType:SPDefaultPasteboardDragType] intValue];
destinationRow = row;
if ( destinationRow > originalRow )