VirtualBox

Ignore:
Timestamp:
May 20, 2010 12:59:35 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt: 4758: New running VM core: VRDP action correct state translation.

File:
1 edited

Legend:

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

    r28800 r29695  
    116116    {
    117117        setCheckable(true);
    118         connect(this, SIGNAL(triggered(bool)), this, SLOT(sltUpdateAppearance()));
     118        connect(this, SIGNAL(toggled(bool)), this, SLOT(sltUpdateAppearance()));
    119119    }
    120120};
     
    710710    void retranslateUi()
    711711    {
    712         setText(QApplication::translate("VBoxConsoleWnd", "&Remote Display"));
    713         setStatusTip(QApplication::translate("VBoxConsoleWnd", "Enable or disable remote desktop (RDP) connections to this machine"));
     712        if (!isChecked())
     713        {
     714            setText(QApplication::translate("VBoxConsoleWnd", "&Enable Remote Display"));
     715            setStatusTip(QApplication::translate("VBoxConsoleWnd", "Enable remote desktop (RDP) connections to this machine"));
     716        }
     717        else
     718        {
     719            setText(QApplication::translate("VBoxConsoleWnd", "&Disable Remote Display"));
     720            setStatusTip(QApplication::translate("VBoxConsoleWnd", "Disable remote desktop (RDP) connections to this machine"));
     721        }
    714722    }
    715723};
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