VirtualBox

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


Ignore:
Timestamp:
Jun 27, 2011 7:33:07 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72503
Message:

FE/Qt: Machine settings / Display page: Disabling VRDE tab instead of removing it (if VRDE is not accessible currently) according other similar places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r37349 r37652  
    220220        mCbMultipleConn->setChecked(displayData.m_fMultipleConnectionsAllowed);
    221221    }
    222     else
    223         mTwDisplay->removeTab(1);
    224222
    225223    /* Polish page finally: */
     
    508506void UIMachineSettingsDisplay::polishPage()
    509507{
     508    /* Get system data from cache: */
     509    const UIDataSettingsMachineDisplay &displayData = m_cache.base();
     510
    510511    /* Video tab: */
    511512    mLbMemory->setEnabled(isMachineOffline());
     
    527528#endif /* VBOX_WITH_VIDEOHWACCEL */
    528529    /* VRDE tab: */
     530    mTwDisplay->setTabEnabled(1, displayData.m_fVRDEServerSupported);
    529531    mCbVRDE->setEnabled(isMachineInValidMode());
    530532    mLbVRDPPort->setEnabled(isMachineInValidMode());
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