VirtualBox

Changeset 87947 in vbox


Ignore:
Timestamp:
Mar 4, 2021 11:33:14 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9950. Small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic4.cpp

    r87946 r87947  
    149149        m_pDiskSelectionButton->setIcon(UIIconPool::iconSet(":/select_file_16px.png", ":/select_file_disabled_16px.png"));
    150150    }
    151     pDiskLayout->addWidget(m_pDiskEmpty, 0, 0, 1, 6);
    152     pDiskLayout->addWidget(m_pDiskNew, 1, 0, 1, 6);
    153     pDiskLayout->addWidget(createDiskVariantAndSizeWidgets(), 3, 2, 3, 4);
     151    pDiskLayout->addWidget(m_pDiskNew, 0, 0, 1, 6);
     152    pDiskLayout->addWidget(createDiskVariantAndSizeWidgets(), 1, 2, 3, 4);
     153    pDiskLayout->addWidget(m_pDiskEmpty, 4, 0, 1, 6);
    154154    pDiskLayout->addWidget(m_pDiskExisting, 6, 0, 1, 6);
    155155    pDiskLayout->addWidget(m_pDiskSelector, 7, 2, 1, 3);
     
    231231    m_pSizeEditor = new UIMediumSizeEditor;
    232232    m_pSizeEditorLabel = new QLabel;
    233     pSizeLayout->addWidget(m_pSizeEditorLabel);
     233    if (m_pSizeEditorLabel)
     234    {
     235        pSizeLayout->addWidget(m_pSizeEditorLabel);
     236        m_pSizeEditorLabel->setBuddy(m_pSizeEditor);
     237    }
    234238    pSizeLayout->addWidget(m_pSizeEditor);
    235239    pLayout->addLayout(pSizeLayout);
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