diff options
author | Eike Ziller <eike.ziller@qt.io> | 2016-05-27 16:12:13 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2016-05-30 06:30:55 +0000 |
commit | 729a7345f4f5560412d955d9f003b42841d619eb (patch) | |
tree | 3d3045772682b4cc0e8f422dec4c7069b1684e20 /src/plugins/help | |
parent | 7a80f2f01e3f6a62fe34c1299c6209489df2ea46 (diff) | |
download | qt-creator-729a7345f4f5560412d955d9f003b42841d619eb.tar.gz |
OS X: Fix warnings in MacWebKitHelpViewer
Change-Id: I8c8c385d9610f8e2a4ca0f1c921cc9d3b3de4267
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/help')
-rw-r--r-- | src/plugins/help/macwebkithelpviewer.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/help/macwebkithelpviewer.mm b/src/plugins/help/macwebkithelpviewer.mm index 2f182eaaa5..57e18bc190 100644 --- a/src/plugins/help/macwebkithelpviewer.mm +++ b/src/plugins/help/macwebkithelpviewer.mm @@ -197,7 +197,7 @@ static void ensureProtocolHandler() // #pragma mark -- FrameLoadDelegate -@interface FrameLoadDelegate : NSObject +@interface FrameLoadDelegate : NSObject<WebFrameLoadDelegate> { WebFrame *mainFrame; Help::Internal::MacWebKitHelpViewer *viewer; @@ -262,8 +262,9 @@ static void ensureProtocolHandler() } } -- (void)webView:(WebView *)sender didFailLoadWithError:(NSError *)error forFrame:(WebFrame *)frame; +- (void)webView:(WebView *)sender didFailLoadWithError:(NSError *)error forFrame:(WebFrame *)frame { + Q_UNUSED(sender) Q_UNUSED(error) if (frame == mainFrame && !finished) { finished = true; @@ -274,7 +275,7 @@ static void ensureProtocolHandler() // #pragma mark -- UIDelegate -@interface UIDelegate : NSObject +@interface UIDelegate : NSObject<WebUIDelegate> { Help::Internal::MacWebKitHelpWidget *widget; } |