Improved the options popover.

This commit is contained in:
Damiano Galassi committed 2014-03-18 19:05:53 +01:00
1 parent 4cacf3aedd
commit 7253a86c8d
7 files changed
+115 -119

No files matched your search

+3 -3
View File
@@ -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) {