VirtualBox

Ignore:
Timestamp:
Oct 9, 2014 6:22:17 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96485
Message:

FE/Qt: new VM wizard OS type suggestion should not override the specified bitness

File:
1 edited

Legend:

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

    r53012 r53013  
    175175void UIWizardNewVMPage1::onNameChanged(QString strNewName)
    176176{
    177     /* Do not forget about achitecture bits: */
    178     strNewName += ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode ? "64" : "32";
     177    /* Do not forget about achitecture bits, if not yet specified: */
     178    if (!strNewName.contains("32") && !strNewName.contains("64"))
     179        strNewName += ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode ? "64" : "32";
    179180
    180181    /* Search for a matching OS type based on the string the user typed already. */
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