summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcocoamenuloader_mac.mm
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2010-11-22 16:05:42 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2010-11-23 12:26:59 (GMT)
commit9746f31088961645e59c0d4a8d995601153a9ee7 (patch)
tree3cbd16bff489d868d9f5e49c713c5ff59dddfa76 /src/gui/kernel/qcocoamenuloader_mac.mm
parent774a8ff7444001917287524ac57d370c6995dea0 (diff)
downloadQt-9746f31088961645e59c0d4a8d995601153a9ee7.zip
Qt-9746f31088961645e59c0d4a8d995601153a9ee7.tar.gz
Qt-9746f31088961645e59c0d4a8d995601153a9ee7.tar.bz2
Fix a namespace error and some warnings found by clang
Reviewed-by: Fabien Freling
Diffstat (limited to 'src/gui/kernel/qcocoamenuloader_mac.mm')
-rw-r--r--src/gui/kernel/qcocoamenuloader_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qcocoamenuloader_mac.mm b/src/gui/kernel/qcocoamenuloader_mac.mm
index b963b3c..d351831 100644
--- a/src/gui/kernel/qcocoamenuloader_mac.mm
+++ b/src/gui/kernel/qcocoamenuloader_mac.mm
@@ -170,12 +170,12 @@ QT_USE_NAMESPACE
return [[aboutQtItem retain] autorelease];
}
-- (NSMenuItem *)hideMenuItem;
+- (NSMenuItem *)hideMenuItem
{
return [[hideItem retain] autorelease];
}
-- (NSMenuItem *)appSpecificMenuItem;
+- (NSMenuItem *)appSpecificMenuItem
{
// Create an App-Specific menu item, insert it into the menu and return
// it as an autorelease item.