VirtualBox

Changeset 27455 in vbox


Ignore:
Timestamp:
Mar 17, 2010 4:09:33 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: New running VM core: some cleanup.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
3 edited

Legend:

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

    r27415 r27455  
    280280        : QEventLoop(0)
    281281        , m_iTimerId(0)
    282         , m_fReallyQuit(false)
    283282    {
    284283        /* Also start timer to unlock pool in case of
     
    291290        /* Kill the timer: */
    292291        killTimer(m_iTimerId);
    293     }
    294 
    295 public slots:
    296 
    297     void quit()
    298     {
    299         if (m_fReallyQuit)
    300             QEventLoop::quit();
    301         else
    302             m_fReallyQuit = true;
    303292    }
    304293
     
    315304
    316305    int m_iTimerId;
    317     bool m_fReallyQuit;
    318306};
    319307
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp

    r27453 r27455  
    170170
    171171        case VBoxDefs::ResizeEventType:
    172         case VBoxDefs::RepaintEventType:
    173         {
    174             /* Unlock on guest resize & repaint events: */
     172        {
     173            /* Unlock after processing guest resize event: */
    175174            bool fResult = UIMachineView::event(pEvent);
    176175            if (m_pSyncBlocker && m_pSyncBlocker->isRunning())
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp

    r27427 r27455  
    182182
    183183        case VBoxDefs::ResizeEventType:
    184         case VBoxDefs::RepaintEventType:
    185         {
    186             /* Unlock on guest resize & repaint events: */
     184        {
     185            /* Unlock after processing guest resize event: */
    187186            bool fResult = UIMachineView::event(pEvent);
    188187            if (m_pSyncBlocker && m_pSyncBlocker->isRunning())
    189188                m_pSyncBlocker->quit();
    190189            return fResult;
    191             break;
    192190        }
    193191
Note: See TracChangeset for help on using the changeset viewer.

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