src/gui/util/qsystemtrayicon_mac.mm
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
child 7 3f74d0d4af4c
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
   567         action->activate(QAction::Trigger);
   567         action->activate(QAction::Trigger);
   568     }
   568     }
   569 }
   569 }
   570 @end
   570 @end
   571 
   571 
   572 
       
   573 /* Done here because this is the only .mm for now! -Sam */
       
   574 QMacCocoaAutoReleasePool::QMacCocoaAutoReleasePool()
       
   575 {
       
   576     NSApplicationLoad();
       
   577     pool = (void*)[[NSAutoreleasePool alloc] init];
       
   578 }
       
   579 
       
   580 QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool()
       
   581 {
       
   582     [(NSAutoreleasePool*)pool release];
       
   583 }
       
   584