Cocoa: Fix menu item activation.

Handle the action message on the application delegate.

Change-Id: I23686fd6e936a4dbbb141da3dd04a64cbf6a051a
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
bb10
Morten Johan Sorvig 2012-03-16 10:15:10 +01:00 committed by Qt by Nokia
parent c7fb7a6782
commit 4e5bfab52c
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ static void cleanupCocoaApplicationDelegate()
- (void)qtDispatcherToQAction:(id)sender
{
Q_UNUSED(sender);
//[[NSApp QT_MANGLE_NAMESPACE(qt_qcocoamenuLoader)] qtDispatcherToQAction:sender];
[qtMenuLoader qtDispatcherToQAction:sender];
}
@end