diff options
author | Morten Sorvig <morten.sorvig@nokia.com> | 2011-10-19 14:23:45 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-23 10:23:23 +0200 |
commit | f6e0a2f59f79ba6b20f2d4d00807d26b71fa9178 (patch) | |
tree | 3929c5179601ad15df2c5018882c9edeee34b442 /src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm | |
parent | 03fd37cdf403e35aaaab874be9bad033d250e39d (diff) |
Cocoa: clean up compiler warnings.
Change-Id: I2cb65bb455b79b218a317b21e5a3b0d9792e0e22
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm index 6a2508359b..debda91243 100644 --- a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm +++ b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm @@ -215,6 +215,8 @@ static void cleanupCocoaApplicationDelegate() - (void)application:(NSApplication *)sender openFiles:(NSArray *)filenames { + Q_UNUSED(filenames); + Q_UNUSED(sender); /* for (NSString *fileName in filenames) { QString qtFileName = qt_mac_NSStringToQString(fileName); @@ -249,6 +251,7 @@ static void cleanupCocoaApplicationDelegate() - (void)applicationDidBecomeActive:(NSNotification *)notification { + Q_UNUSED(notification); /* if (reflectionDelegate && [reflectionDelegate respondsToSelector:@selector(applicationDidBecomeActive:)]) @@ -272,6 +275,7 @@ static void cleanupCocoaApplicationDelegate() - (void)applicationDidResignActive:(NSNotification *)notification { + Q_UNUSED(notification); /* if (reflectionDelegate && [reflectionDelegate respondsToSelector:@selector(applicationDidResignActive:)]) @@ -328,6 +332,7 @@ static void cleanupCocoaApplicationDelegate() - (void)getUrl:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { + Q_UNUSED(event); Q_UNUSED(replyEvent); /* NSString *urlString = [[event paramDescriptorForKeyword:keyDirectObject] stringValue]; @@ -348,6 +353,7 @@ static void cleanupCocoaApplicationDelegate() - (void)qtDispatcherToQAction:(id)sender { + Q_UNUSED(sender); //[[NSApp QT_MANGLE_NAMESPACE(qt_qcocoamenuLoader)] qtDispatcherToQAction:sender]; } |