QTfrontend/CocoaInitializer.mm
branchwebgl
changeset 8096 453917e94e55
parent 8064 202e2cce7077
equal deleted inserted replaced
8053:2e836bebb518 8096:453917e94e55
    31 };
    31 };
    32 
    32 
    33 CocoaInitializer::CocoaInitializer()
    33 CocoaInitializer::CocoaInitializer()
    34 {
    34 {
    35     c = new CocoaInitializer::Private();
    35     c = new CocoaInitializer::Private();
       
    36     c->pool = [[NSAutoreleasePool alloc] init];
    36     NSApplicationLoad();
    37     NSApplicationLoad();
    37     c->pool = [[NSAutoreleasePool alloc] init];
       
    38 }
    38 }
    39 
    39 
    40 CocoaInitializer::~CocoaInitializer()
    40 CocoaInitializer::~CocoaInitializer()
    41 {
    41 {
    42     [c->pool release];
    42     [c->pool release];