VirtualBox

Changeset 26914 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 1, 2010 2:47:38 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58198
Message:

FE/Qt4: new core: small fix for OSX and todo added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r26897 r26914  
    646646#endif
    647647
    648 #if defined (Q_WS_MAC)
    649 # if !defined (QT_MAC_USE_COCOA)
     648#ifdef Q_WS_MAC
     649    /* We have to make sure the callback for the keyboard events is released
     650     * when closing this view. */
     651    if (m_fKeyboardGrabbed)
     652        darwinGrabKeyboardEvents (false);
     653# ifndef QT_MAC_USE_COCOA
    650654    if (mDarwinWindowOverlayHandlerRef)
    651655    {
     
    653657        mDarwinWindowOverlayHandlerRef = NULL;
    654658    }
    655 # endif
     659# endif /* !QT_MAC_USE_COCOA */
    656660    // TODO_NEW_CORE
    657661//    delete mDockIconPreview;
    658662    mDockIconPreview = NULL;
    659 #endif
     663#endif /* Q_WS_MAC */
    660664}
    661665
     
    669673        /* Release the reference: */
    670674        m_pFrameBuffer->Release();
     675//        delete m_pFrameBuffer; // TODO_NEW_CORE: possibly necessary to really cleanup
    671676        m_pFrameBuffer = NULL;
    672677    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette