Improved the options popover.
This commit is contained in:
1 parent
4cacf3aedd
commit
7253a86c8d
7 files changed
+115
-119
No files matched your search
+3
-3
@@ -227,7 +227,7 @@ NSString *SBQueueCancelledNotification = @"SBQueueCancelledNotification";
|
||||
[self saveQueueToDisk];
|
||||
|
||||
// Get the first item available in the queue
|
||||
self.currentItem = [[self firstItemInQueue] retain];
|
||||
self.currentItem = [self firstItemInQueue];
|
||||
|
||||
if (!self.currentItem) {
|
||||
break;
|
||||
@@ -242,7 +242,7 @@ NSString *SBQueueCancelledNotification = @"SBQueueCancelledNotification";
|
||||
// Check results
|
||||
if (self.cancelled) {
|
||||
self.currentItem.status = SBQueueItemStatusCancelled;
|
||||
[self.currentItem release];
|
||||
self.currentItem = nil;
|
||||
[self handleSBStatusCancelled];
|
||||
break;
|
||||
}
|
||||
@@ -254,7 +254,7 @@ NSString *SBQueueCancelledNotification = @"SBQueueCancelledNotification";
|
||||
[self handleSBStatusFailed:outError];
|
||||
}
|
||||
|
||||
[self.currentItem release];
|
||||
self.currentItem = nil;
|
||||
}
|
||||
|
||||
if (self.status == SBQueueStatusCancelled) {
|
||||
|
||||
Reference in new issue
Block a user