VirtualBox

Changeset 12098 in vbox


Ignore:
Timestamp:
Sep 4, 2008 2:46:32 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: Explicitly add the menu role to certain menu items because the text
heuristic fails on mostly all other languages than English.

Location:
trunk/src/VBox/Frontends/VirtualBox4/src
Files:
3 edited

Legend:

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

    r12075 r12098  
    219219
    220220    vmCloseAction = new QAction (this);
     221    vmCloseAction->setMenuRole (QAction::QuitRole);
    221222    vmCloseAction->setIcon (VBoxGlobal::iconSet (":/exit_16px.png"));
    222223
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp

    r12010 r12098  
    217217                                                ":/refresh_disabled_16px.png"));
    218218    aboutAction = new QAction (aParent);
     219    aboutAction->setMenuRole (QAction::AboutRole);
    219220    aboutAction->setIcon (VBoxGlobal::iconSet (":/about_16px.png"));
    220221
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp

    r12010 r12098  
    401401    fileDiskMgrAction->setIcon (VBoxGlobal::iconSet (":/diskim_16px.png"));
    402402    fileSettingsAction = new QAction(this);
     403    fileSettingsAction->setMenuRole (QAction::PreferencesRole);
    403404    fileSettingsAction->setIcon (VBoxGlobal::iconSet (":/global_settings_16px.png"));
    404405    fileExitAction = new QAction (this);
     406    fileExitAction->setMenuRole (QAction::QuitRole);
    405407    fileExitAction->setIcon (VBoxGlobal::iconSet (":/exit_16px.png"));
    406408
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