Move sendToQueue to Document.swift

This commit is contained in:
Damiano Galassi committed 2018-02-14 15:15:16 +01:00
1 parent f35c3734ee
commit 854e5dfcc9
5 files changed
+45 -58

No files matched your search

-18
View File
@@ -47,11 +47,6 @@
debugLogController = [[ActivityWindowController alloc] initWithLogger:logger];
MP42File.globalLogger = logger;
if ([NSUserDefaults.standardUserDefaults boolForKey:@"SBAdditionalDebugInfo"]) {
// TODO
//SBMetadataHelper.logger = logger;
}
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"SBShowQueueWindow"]) {
[[SBQueueController sharedManager] showWindow:self];
@@ -282,17 +277,4 @@
}
- (nullable __kindof NSDocument *)documentForURL:(NSURL *)url
{
NSArray<__kindof NSDocument *> *documents = [self.documents copy];
for (NSDocument *doc in documents) {
if ([doc.fileURL isEqualTo:url.filePathURL]) {
return doc;
}
}
return nil;
}
@end