VirtualBox

Ignore:
Timestamp:
Nov 19, 2020 3:41:51 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9866: VirtualBox Manager: Removing Discard functionality for cloud VMs, it will be replaced with Terminate stuff.

File:
1 edited

Legend:

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

    r86668 r86922  
    10801080    virtual void retranslateUi() /* override */
    10811081    {
    1082         switch (state())
    1083         {
    1084             case 0:
    1085             {
    1086                 setIconText(QApplication::translate("UIActionPool", "Discard"));
    1087                 setName(QApplication::translate("UIActionPool", "D&iscard Saved State..."));
    1088                 setStatusTip(QApplication::translate("UIActionPool", "Discard saved state of selected virtual machines"));
    1089                 setToolTip(simplifyText(text()) + (shortcut().isEmpty() ? QString() : QString(" (%1)").arg(shortcut().toString())));
    1090                 break;
    1091             }
    1092             case 1:
    1093             {
    1094                 setIconText(QApplication::translate("UIActionPool", "Terminate"));
    1095                 setName(QApplication::translate("UIActionPool", "&Terminate Cloud Instance..."));
    1096                 setStatusTip(QApplication::translate("UIActionPool", "Terminate cloud instance of selected virtual machines"));
    1097                 setToolTip(simplifyText(text()) + (shortcut().isEmpty() ? QString() : QString(" (%1)").arg(shortcut().toString())));
    1098                 break;
    1099             }
    1100             default:
    1101                 break;
    1102         }
     1082        setIconText(QApplication::translate("UIActionPool", "Discard"));
     1083        setName(QApplication::translate("UIActionPool", "D&iscard Saved State..."));
     1084        setStatusTip(QApplication::translate("UIActionPool", "Discard saved state of selected virtual machines"));
     1085        setToolTip(simplifyText(text()) + (shortcut().isEmpty() ? QString() : QString(" (%1)").arg(shortcut().toString())));
    11031086    }
    11041087};
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