VirtualBox

Changeset 90575 in vbox for trunk


Ignore:
Timestamp:
Aug 9, 2021 8:43:16 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996. Small fix

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardDiskEditors.cpp

    r90403 r90575  
    330330                                                       "VM creation time, rather than being allocated dynamically at VM run-time.</p>"));
    331331    }
    332     m_pSplitBox->setText(tr("&Split into files of less than 2GB"));
    333 
     332    if (m_pSplitBox)
     333    {
     334        m_pSplitBox->setText(tr("&Split into files of less than 2GB"));
     335        m_pSplitBox->setText(tr("&When checked the virtual disk file will be splitted into 2GB parts in the host storage."));
     336    }
    334337}
    335338
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageExpert.cpp

    r90430 r90575  
    7676    connect(m_pVariantGroup, &UIDiskVariantGroupBox::sigMediumVariantChanged,
    7777            this, &UIWizardNewVDPageExpert::sltMediumVariantChanged);
    78 
    79 //     connect(m_pFixedCheckBox, &QAbstractButton::toggled,
    80 //             this, &UIWizardNewVDPageExpert::completeChanged);
    81 //     connect(m_pSplitBox, &QCheckBox::stateChanged,
    82 //             this, &UIWizardNewVDPageExpert::completeChanged);
    83 //     connect(m_pLocationEditor, &QLineEdit::textChanged,
    84 //             this, &UIWizardNewVDPageExpert::completeChanged);
    8578    connect(m_pSizeAndPathGroup, &UIMediumSizeAndPathGroupBox::sigMediumLocationButtonClicked,
    8679            this, &UIWizardNewVDPageExpert::sltSelectLocationButtonClicked);
    87 //     connect(m_pMediumSizeEditor, &UIMediumSizeEditor::sigSizeChanged,
    88 //             this, &UIWizardNewVDPageExpert::completeChanged);
    89 
    9080    connect(m_pSizeAndPathGroup, &UIMediumSizeAndPathGroupBox::sigMediumSizeChanged,
    9181            this, &UIWizardNewVDPageExpert::sltMediumSizeChanged);
    92 
    9382    connect(m_pSizeAndPathGroup, &UIMediumSizeAndPathGroupBox::sigMediumPathChanged,
    9483            this, &UIWizardNewVDPageExpert::sltMediumPathChanged);
    9584
    9685    retranslateUi();
    97 
    9886}
    9987
     
    141129void UIWizardNewVDPageExpert::retranslateUi()
    142130{
    143 //     UIWizardNewVDPageBaseFileType::retranslateWidgets();
    144 //     UIWizardNewVDPageBaseVariant::retranslateWidgets();
    145 //     UIWizardNewVDPageBaseSizeLocation::retranslateWidgets();
    146 //     /* Translate widgets: */
    147 //     if (m_pLocationGroupBox)
    148 //         m_pLocationGroupBox->setTitle(UIWizardNewVD::tr("Hard disk file &location"));
    149 //     if (m_pSizeGroupBox)
    150 //         m_pSizeGroupBox->setTitle(UIWizardNewVD::tr("Hard disk file &size"));
    151 //     if (m_pFormatGroupBox)
    152 //         m_pFormatGroupBox->setTitle(UIWizardNewVD::tr("Hard disk file &type"));
    153 //     if (m_pFormatButtonGroup)
    154 //     {
    155 //         QList<QAbstractButton*> buttons = m_pFormatButtonGroup->buttons();
    156 //         for (int i = 0; i < buttons.size(); ++i)
    157 //         {
    158 //             QAbstractButton *pButton = buttons[i];
    159 //             UIMediumFormat enmFormat = gpConverter->fromInternalString<UIMediumFormat>(m_formatNames[m_pFormatButtonGroup->id(pButton)]);
    160 //             pButton->setText(gpConverter->toString(enmFormat));
    161 //         }
    162 //     }
    163 //     if (m_pVariantGroupBox)
    164 //         m_pVariantGroupBox->setTitle(UIWizardNewVD::tr("Storage on physical hard disk"));
    165 //     if (m_pSplitBox)
    166 //         m_pSplitBox->setText(UIWizardNewVD::tr("&Split into files of less than 2GB"));
    167131}
    168132
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