Convert SBAppDelegate to Swift.

This commit is contained in:
Damiano Galassi committed 2018-02-17 10:46:53 +01:00
1 parent 40844819e1
commit 66f4575ffc
15 files changed
+272 -361

No files matched your search

+1 -4
View File
@@ -55,9 +55,6 @@ class DocumentWindowController: NSWindowController, TracksViewControllerDelegate
window.setFrameFrom("documentSave")
}
window.contentViewController = splitViewController
window.registerForDraggedTypes([NSPasteboard.PasteboardType.backwardsCompatibleFileURL])
didSelect(tracks: [])
}
@@ -498,7 +495,7 @@ class DocumentWindowController: NSWindowController, TracksViewControllerDelegate
}
}
@objc func showImportSheet(fileURLs: [URL]) {
func showImportSheet(fileURLs: [URL]) {
do {
let controller = try FileImportController(fileURLs: fileURLs, delegate: self)