VirtualBox

Changeset 96644 in vbox


Ignore:
Timestamp:
Sep 7, 2022 8:35:55 PM (2 years ago)
Author:
vboxsync
Message:

FE/Qt: Check that m_pNameAndSystemEditor isn't NULL. bugref:9515

File:
1 edited

Legend:

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

    r96642 r96644  
    167167    pWizard->setISOFilePath(strISOPath);
    168168
    169     bool const fOsTypeFixed = UIWizardNewVMNameOSTypeCommon::guessOSTypeDetectedOSTypeString(m_pNameAndSystemEditor, pWizard->detectedOSTypeId());
     169    bool const fOsTypeFixed = UIWizardNewVMNameOSTypeCommon::guessOSTypeDetectedOSTypeString(m_pNameAndSystemEditor,
     170                                                                                             pWizard->detectedOSTypeId());
    170171    if (fOsTypeFixed)
    171172        m_userModifiedParameters << "GuestOSTypeFromISO";
     
    186187
    187188    /* Redetect the OS type using the name if detection or the step above failed: */
    188     if (!fOsTypeFixed)
     189    if (!fOsTypeFixed && m_pNameAndSystemEditor)
    189190        sltNameChanged(m_pNameAndSystemEditor->name());
    190191
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