Changeset 92430 in vbox
- Timestamp:
- Nov 15, 2021 2:49:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp
r92428 r92430 115 115 void UIMediumSelector::retranslateUi() 116 116 { 117 if (m_pMainMenu)118 m_pMainMenu->setTitle(tr("&Medium"));119 120 117 if (m_pCancelButton) 121 118 m_pCancelButton->setText(tr("&Cancel")); … … 332 329 return; 333 330 334 m_pMainMenu = menuBar()->addMenu(tr("&Medium")); 331 if (m_pActionPool && m_pActionPool->action(UIActionIndex_M_MediumSelector)) 332 { 333 m_pMainMenu = m_pActionPool->action(UIActionIndex_M_MediumSelector)->menu(); 334 if (m_pMainMenu) 335 menuBar()->addMenu(m_pMainMenu); 336 } 335 337 336 338 m_pToolBar = new QIToolBar; … … 571 573 const QRect screenGeometry = gpDesktop->screenGeometry(iHostScreen); 572 574 if (screenGeometry.isValid()) 573 proposedSize = screenGeometry.size() * 5 / 15;575 proposedSize = screenGeometry.size() / 2.5; 574 576 } 575 577 /* Fallback to default size if we failed: */
Note:
See TracChangeset
for help on using the changeset viewer.