Ticket #34903: patch-clang-src_qt_macdockiconhandler_mm.diff
File patch-clang-src_qt_macdockiconhandler_mm.diff, 612 bytes (added by zan@…, 12 years ago) |
---|
-
src/qt/macdockiconhandler.mm
old new 47 47 MacDockIconHandler::MacDockIconHandler() : QObject() 48 48 { 49 49 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 50 this->m_dockIconClickEventHandler = [[DockIconClickEventHandler alloc] initWithDockIconHandler:this];50 this->m_dockIconClickEventHandler = (objc_object *)[[DockIconClickEventHandler alloc] initWithDockIconHandler:this]; 51 51 52 52 this->m_dummyWidget = new QWidget(); 53 53 this->m_dockMenu = new QMenu(this->m_dummyWidget);