summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueTableViewController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-07-20 10:15:19 +0200
committerDamiano Galassi <[email protected]>2019-07-20 10:15:19 +0200
commit40290672aca7579e7c7f220efc36f8569dfde7a1 (patch)
tree9efd52d36bd2424ef86a96e9628df536fcf9eaab /macosx/HBQueueTableViewController.m
parent988752d2bce5814044f0db63a952d7e3b29f7ff1 (diff)
MacGui: fix a number of queue regressions.
Diffstat (limited to 'macosx/HBQueueTableViewController.m')
-rw-r--r--macosx/HBQueueTableViewController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBQueueTableViewController.m b/macosx/HBQueueTableViewController.m
index 309d6d48a..9ced3c216 100644
--- a/macosx/HBQueueTableViewController.m
+++ b/macosx/HBQueueTableViewController.m
@@ -235,7 +235,7 @@
- (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger)row
{
HBQueueItem *item = self.queue.items[row];
- return item.state == HBQueueItemStateWorking ? 56 : 22;
+ return item.state == HBQueueItemStateWorking ? 58 : 22;
}
#pragma mark NSQueueItemView delegate
@@ -243,7 +243,7 @@
- (void)removeQueueItem:(nonnull HBQueueItem *)item
{
NSUInteger index = [self.queue.items indexOfObject:item];
- [self.queue removeQueueItemAtIndex:index];
+ [self.queue removeItemAtIndex:index];
}
- (void)revealQueueItem:(nonnull HBQueueItem *)item
@@ -308,7 +308,7 @@
- (BOOL)tableView:(NSTableView *)tableView acceptDrop:(id<NSDraggingInfo>)info row:(NSInteger)row dropOperation:(NSTableViewDropOperation)dropOperation
{
- [self.queue moveQueueItems:self.dragNodesArray toIndex:row];
+ [self.queue moveItems:self.dragNodesArray toIndex:row];
return YES;
}