Ignore NSUserNotificationCenter deprecation
This commit is contained in:
@@ -216,7 +216,11 @@ QDebug operator<<(QDebug dbg, NSObject* object) {
|
||||
[delegate_ setShortcutHandler:shortcut_handler_];
|
||||
[self setDelegate:delegate_];
|
||||
|
||||
// FIXME
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
[ [NSUserNotificationCenter defaultUserNotificationCenter]setDelegate:delegate_];
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user