src/gui/kernel/qcocoamenuloader_mac.mm
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
--- a/src/gui/kernel/qcocoamenuloader_mac.mm	Fri Feb 19 23:40:16 2010 +0200
+++ b/src/gui/kernel/qcocoamenuloader_mac.mm	Fri Mar 12 15:46:37 2010 +0200
@@ -110,6 +110,12 @@
     }
 }
 
+- (void)removeActionsFromAppMenu
+{
+    for (NSMenuItem *item in [appMenu itemArray])
+        [item setTag:nil];
+}
+
 - (void)dealloc
 {
     [lastAppSpecificItem release];