Convert to Swift 5, convert QueueController to Swift.

This commit is contained in:
Damiano Galassi committed 2019-01-27 11:46:31 +01:00
1 parent 45dc075c77
commit 5725b0f830
21 files changed
+846 -916

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ final class PresetManager {
}
func remove(item: Preset) throws {
if let index = presets.index(where: { $0 === item }) {
if let index = presets.firstIndex(where: { $0 === item }) {
try remove(at: index)
}
}