VirtualBox

Changeset 93442 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 26, 2022 4:31:56 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9371. A small fix for label management.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.cpp

    r93186 r93442  
    10751075            pContainerLayout->addWidget(m_pWarningLabel);
    10761076            m_pWarningLabel->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Maximum);
    1077             m_pWarningLabel->setVisible(false);
    10781077        }
    10791078    }
     
    13981397        case State_NoGuestAdditions:
    13991398            setSessionWidgetsEnabled(false);
    1400             m_pWarningLabel->setVisible(true);
     1399            m_pWarningLabelContainer->setVisible(true);
    14011400            m_pGuestSessionPanel->setEnabled(false);
    14021401            if (m_pGuestSessionPanel)
     
    14051404        case State_SessionPossible:
    14061405            setSessionWidgetsEnabled(false);
    1407             m_pWarningLabel->setVisible(true);
     1406            m_pWarningLabelContainer->setVisible(true);
    14081407            m_pGuestSessionPanel->setEnabled(true);
    14091408            if (m_pGuestSessionPanel)
     
    14121411        case State_SessionRunning:
    14131412            setSessionWidgetsEnabled(true);
    1414             m_pWarningLabel->setVisible(false);
     1413            m_pWarningLabelContainer->setVisible(false);
    14151414            m_pGuestSessionPanel->setEnabled(true);
    14161415            if (m_pGuestSessionPanel)
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