Mark PreferencesWindowController as final.

This commit is contained in:
Brent Simmons 2024-10-01 13:44:13 -07:00
parent 8d5bd91c74
commit 33d1ff3804

View File

@ -27,7 +27,7 @@ private struct ToolbarItemIdentifier {
static let Advanced = "Advanced"
}
class PreferencesWindowController : NSWindowController, NSToolbarDelegate {
final class PreferencesWindowController : NSWindowController, NSToolbarDelegate {
private let windowWidth = CGFloat(512.0) // Width is constant for all views; only the height changes
private var viewControllers = [String: NSViewController]()