VirtualBox

Changeset 61580 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 8, 2016 2:31:27 PM (9 years ago)
Author:
vboxsync
Message:

Reverting r107832 and r107823 due to ineffectiveness in corner-cases, will do it better way.

File:
1 edited

Legend:

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

    r61498 r61580  
    6969        {
    7070            /* If there is a mini-toolbar: */
    71             if (m_pMiniToolBar && m_pMiniToolBar->isVisible())
     71            if (m_pMiniToolBar)
    7272            {
    7373                /* Hide mini-toolbar: */
     
    7979        {
    8080            /* If there is a mini-toolbar: */
    81             if (m_pMiniToolBar && !m_pMiniToolBar->isVisible())
     81            if (m_pMiniToolBar)
    8282            {
    8383                /* Show mini-toolbar in full-screen mode: */
     
    353353
    354354#if   defined(VBOX_WS_WIN) || defined(VBOX_WS_X11)
    355 # if defined(VBOX_WS_WIN) && QT_VERSION >= 0x050000
    356     /* On Windows you can't just resize/move Qt5 QWidget to required host-screen
    357      * because for simple normal QWidget maximum possible window size is limited
    358      * by the available geometry and Qt5 bumps it out to the main host-screen in
    359      * such case, need to tell window it will be full-screen without showing it. */
    360     setWindowState(Qt::WindowFullScreen);
    361     /* If there is a mini-toolbar: */
    362     if (m_pMiniToolBar)
    363         m_pMiniToolBar->setWindowState(Qt::WindowFullScreen);
    364 # endif /* VBOX_WS_WIN && QT_VERSION >= 0x050000 */
    365 
    366355    /* Set appropriate geometry for window: */
    367356    resize(workingArea.size());
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