Changeset 13869 in vbox
- Timestamp:
- Nov 5, 2008 2:38:47 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38867
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r13580 r13869 199 199 { 200 200 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() */ 203 204 mRefreshButton->setTextLabel (mRefreshAction->text()); 204 mRefreshButton->setAccel (mRefreshAction->accel());205 205 mRefreshButton->setIconSet (mRefreshAction->iconSet()); 206 206 mRefreshButton->setTextPosition (QToolButton::BesideIcon); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp
r13790 r13869 194 194 { 195 195 mRefreshButton->setText (mRefreshAction->text()); 196 /* If we set the combination of the text label and icon197 * below, we lose the Alt+R shortcut functionality... */198 mRefreshButton->setText (mRefreshAction->text());199 mRefreshButton->setShortcut (mRefreshAction->shortcut());200 196 mRefreshButton->setIcon (mRefreshAction->icon()); 201 197 mRefreshButton->setToolButtonStyle (Qt::ToolButtonTextBesideIcon); … … 417 413 trayShowWindowAction->setIcon (VBoxGlobal::iconSet (":/VirtualBox_16px.png")); 418 414 trayShowWindowAction->setText (tr ("Sun xVM VirtualBox")); 419 415 420 416 trayExitAction = new QAction (this); 421 417 trayExitAction->setMenuRole (QAction::QuitRole);
Note:
See TracChangeset
for help on using the changeset viewer.