VirtualBox

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


Ignore:
Timestamp:
Aug 30, 2007 4:23:24 PM (17 years ago)
Author:
vboxsync
Message:

fixed updateAppearenceOf (show right shared folders tool tip now on OSE)

File:
1 edited

Legend:

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

    r4354 r4450  
    16871687    {
    16881688        CVRDPServer vrdpsrv = csession.GetMachine().GetVRDPServer();
    1689         if (vrdpsrv.isNull())
    1690             return;
    1691 
    1692         /* update menu&status icon state */
    1693         bool isVRDPEnabled = vrdpsrv.GetEnabled();
    1694         devicesSwitchVrdpAction->setOn (isVRDPEnabled);
     1689        if (!vrdpsrv.isNull())
     1690        {
     1691            /* update menu&status icon state */
     1692            bool isVRDPEnabled = vrdpsrv.GetEnabled();
     1693            devicesSwitchVrdpAction->setOn (isVRDPEnabled);
    16951694#if 0
    1696         vrdp_state->setState (isVRDPEnabled ? 1 : 0);
    1697 
    1698         /* compose status icon tooltip */
    1699         QString tip = tr ("Indicates whether the Remote Display (VRDP Server) "
    1700                           "is enabled (<img src=vrdp_16px.png/>) or not "
    1701                           "(<img src=vrdp_disabled_16px.png/>)."
    1702         );
    1703         if (vrdpsrv.GetEnabled())
    1704             tip += tr ("<hr>VRDP Server is listening on port %1").arg (vrdpsrv.GetPort());
    1705         QToolTip::add (vrdp_state, tip);
    1706 #endif
     1695            vrdp_state->setState (isVRDPEnabled ? 1 : 0);
     1696
     1697            /* compose status icon tooltip */
     1698            QString tip = tr ("Indicates whether the Remote Display (VRDP Server) "
     1699                              "is enabled (<img src=vrdp_16px.png/>) or not "
     1700                              "(<img src=vrdp_disabled_16px.png/>)."
     1701                              );
     1702            if (vrdpsrv.GetEnabled())
     1703                tip += tr ("<hr>VRDP Server is listening on port %1").arg (vrdpsrv.GetPort());
     1704            QToolTip::add (vrdp_state, tip);
     1705#endif
     1706        }
    17071707    }
    17081708    if (element & SharedFolderStuff)
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