VirtualBox

Ignore:
Timestamp:
Mar 12, 2010 2:06:25 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58755
Message:

FE/Qt4: New running VM core: allow calling thread to change visual mode (fullscreen/seamless) in queued order.

File:
1 edited

Legend:

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

    r27328 r27329  
    130130        /* Connect action handlers: */
    131131        connect(m_pActionsPool->action(UIActionIndex_Toggle_Fullscreen), SIGNAL(triggered(bool)),
    132                 this, SLOT(sltGoToFullscreenMode()));
     132                this, SLOT(sltGoToFullscreenMode()), Qt::QueuedConnection);
    133133        connect(m_pActionsPool->action(UIActionIndex_Toggle_Seamless), SIGNAL(triggered(bool)),
    134                 this, SLOT(sltGoToSeamlessMode()));
     134                this, SLOT(sltGoToSeamlessMode()), Qt::QueuedConnection);
    135135
    136136        /* Initialize the logic object: */
     
    192192        /* Connect action handlers: */
    193193        connect(m_pActionsPool->action(UIActionIndex_Toggle_Fullscreen), SIGNAL(triggered(bool)),
    194                 this, SLOT(sltGoToNormalMode()));
     194                this, SLOT(sltGoToNormalMode()), Qt::QueuedConnection);
    195195        connect(m_pActionsPool->action(UIActionIndex_Toggle_Seamless), SIGNAL(triggered(bool)),
    196                 this, SLOT(sltGoToSeamlessMode()));
     196                this, SLOT(sltGoToSeamlessMode()), Qt::QueuedConnection);
    197197
    198198        /* Initialize the logic object: */
     
    254254        /* Connect action handlers: */
    255255        connect(m_pActionsPool->action(UIActionIndex_Toggle_Fullscreen), SIGNAL(triggered(bool)),
    256                 this, SLOT(sltGoToFullscreenMode()));
     256                this, SLOT(sltGoToFullscreenMode()), Qt::QueuedConnection);
    257257        connect(m_pActionsPool->action(UIActionIndex_Toggle_Seamless), SIGNAL(triggered(bool)),
    258                 this, SLOT(sltGoToNormalMode()));
     258                this, SLOT(sltGoToNormalMode()), Qt::QueuedConnection);
    259259
    260260        /* Initialize the logic object: */
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