Fix the destination selection popup.

This commit is contained in:
Damiano Galassi committed 2017-08-29 12:03:03 +02:00
1 parent d8f960b6d3
commit 99722e6902
3 files changed
+26 -34

No files matched your search

+1 -1
View File
@@ -299,7 +299,7 @@ static void *SBQueueContex = &SBQueueContex;
NSURL *destination = self.options[SBQueueDestination];
if (destination) {
destination = [[destination URLByAppendingPathComponent:url.lastPathComponent].URLByDeletingPathExtension
URLByAppendingPathExtension:(self.options)[SBQueueFileType]];
URLByAppendingPathExtension:self.options[SBQueueFileType]];
} else if (UTTypeConformsTo((__bridge CFStringRef)type, (__bridge CFStringRef)@"public.mpeg-4")) {
destination = [url copy];
} else {