mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-27 16:50:47 +00:00
convert project file from swift2.3 to swift3.0
This commit is contained in:
@@ -19,9 +19,9 @@ class AdvPreferencesWindowController: NSWindowController, NSWindowDelegate {
|
||||
|
||||
//------------------------------------------------------------
|
||||
// NSWindowDelegate
|
||||
func windowWillClose(notification: NSNotification) {
|
||||
NSNotificationCenter.defaultCenter()
|
||||
.postNotificationName(NOTIFY_ADV_CONF_CHANGED, object: nil)
|
||||
func windowWillClose(_ notification: Notification) {
|
||||
NotificationCenter.default
|
||||
.post(name: Notification.Name(rawValue: NOTIFY_ADV_CONF_CHANGED), object: nil)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user