Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
xhacker committed Sep 21, 2015
1 parent d6317db commit ceeb182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion quark-shell/QSHWebViewDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#import "QSHStatusItemView.h"
#import "QSHAppDelegate.h"

@interface QSHWebViewDelegate : NSObject
@interface QSHWebViewDelegate : NSObject <WebUIDelegate, WebFrameLoadDelegate>

@property (nonatomic, weak) QSHAppDelegate *appDelegate;
@property (nonatomic, weak) NSStatusItem *statusItem;
Expand Down
4 changes: 2 additions & 2 deletions quark-shell/QSHWebViewDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
static NSString * const kWebScriptNamespace = @"quark";
static const NSInteger kPreferencesDefaultHeight = 192;

@interface QSHWebViewDelegate () <NSUserNotificationCenterDelegate> {
@interface QSHWebViewDelegate () <NSUserNotificationCenterDelegate, WebPolicyDelegate> {
NSString *appVersion;
NSString *appBundleVersion;
NSString *platform;
Expand Down Expand Up @@ -293,7 +293,7 @@ - (void)notify:(WebScriptObject *)obj
- (void)removeAllScheduledNotifications
{
NSUserNotificationCenter *notificationCenter = [NSUserNotificationCenter defaultUserNotificationCenter];
notificationCenter.scheduledNotifications = nil;
notificationCenter.scheduledNotifications = @[];
}

- (void)removeAllDeliveredNotifications
Expand Down

0 comments on commit ceeb182

Please sign in to comment.