VirtualBox

Changeset 13869 in vbox


Ignore:
Timestamp:
Nov 5, 2008 2:38:47 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38867
Message:

FE/Qt: VM Selector: Don't set the Refresh action shortcut on the Refresh button in the details view since it's redundant.

Location:
trunk/src/VBox/Frontends
Files:
2 edited

Legend:

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

    r13580 r13869  
    199199    {
    200200        mRefreshButton->setText (mRefreshAction->menuText());
    201         /* If we set the combination of the text label and icon
    202          * below, we lose the Alt+R shortcut functionality... */
     201        /* By setting set the combination of the text label and icon below, we
     202         * lose the Alt+R shortcut functionality, so no need to display an
     203         * underscore contained in menuText(), therefore use just text() */
    203204        mRefreshButton->setTextLabel (mRefreshAction->text());
    204         mRefreshButton->setAccel (mRefreshAction->accel());
    205205        mRefreshButton->setIconSet (mRefreshAction->iconSet());
    206206        mRefreshButton->setTextPosition (QToolButton::BesideIcon);
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp

    r13790 r13869  
    194194    {
    195195        mRefreshButton->setText (mRefreshAction->text());
    196         /* If we set the combination of the text label and icon
    197          * below, we lose the Alt+R shortcut functionality... */
    198         mRefreshButton->setText (mRefreshAction->text());
    199         mRefreshButton->setShortcut (mRefreshAction->shortcut());
    200196        mRefreshButton->setIcon (mRefreshAction->icon());
    201197        mRefreshButton->setToolButtonStyle (Qt::ToolButtonTextBesideIcon);
     
    417413    trayShowWindowAction->setIcon (VBoxGlobal::iconSet (":/VirtualBox_16px.png"));
    418414    trayShowWindowAction->setText (tr ("Sun xVM VirtualBox"));
    419    
     415
    420416    trayExitAction = new QAction (this);
    421417    trayExitAction->setMenuRole (QAction::QuitRole);
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