src/gui/kernel/qcocoaapplicationdelegate_mac.mm
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   194         if (!startedQuit) {
   194         if (!startedQuit) {
   195             startedQuit = true;
   195             startedQuit = true;
   196             qAppInstance()->quit();
   196             qAppInstance()->quit();
   197             startedQuit = false;
   197             startedQuit = false;
   198         }
   198         }
   199         return NSTerminateNow;
       
   200     }
   199     }
   201 
   200 
   202     if (qtPrivate->threadData->eventLoops.size() == 0) {
   201     if (qtPrivate->threadData->eventLoops.size() == 0) {
   203         // INVARIANT: No event loop is executing. This probably
   202         // INVARIANT: No event loop is executing. This probably
   204         // means that Qt is used as a plugin, or as a part of a native
   203         // means that Qt is used as a plugin, or as a part of a native