VirtualBox

Ignore:
Timestamp:
Jun 18, 2018 3:43:38 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123100
Message:

FE/Qt Undo some changes

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp

    r72597 r72603  
    4545
    4646
    47 UINameAndSystemEditor::UINameAndSystemEditor(QWidget *pParent, bool fChooseLocation /* = false */, const QString &strGroupName /* = QString() */)
     47UINameAndSystemEditor::UINameAndSystemEditor(QWidget *pParent, bool fChooseLocation /* = false */)
    4848    : QIWithRetranslateUI<QWidget>(pParent)
    4949    , m_fChooseLocation(fChooseLocation)
     
    5959    , m_pComboFamily(0)
    6060    , m_pComboType(0)
    61     , m_strGroupName(strGroupName)
    6261{
    6362    /* Prepare: */
     
    262261                pMainLayout->addWidget(m_pPathSelector, iRow++, 1, 1, 2);
    263262                QString strDefaultMachineFolder = vboxGlobal().virtualBox().GetSystemProperties().GetDefaultMachineFolder();
    264                 /* Add the group name to the default machine path: */
    265                 if (!m_strGroupName.isEmpty() && m_strGroupName != "/")
    266                     strDefaultMachineFolder += m_strGroupName;
    267 
    268263                m_pPathSelector->setPath(strDefaultMachineFolder);
    269264                m_pPathSelector->setDefaultPath(strDefaultMachineFolder);
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.h

    r72594 r72603  
    5656
    5757    /** Constructs VM parameters editor passing @a pParent to the base-class.
    58       * @param  fChooseFullPath  Controls whether we should propose to choose location.
    59       * @param  strGroupName  is used while setting the path and defaultPath of the path selection widget. */
    60     UINameAndSystemEditor(QWidget *pParent, bool fChooseLocation = false, const QString &strGroupName = QString());
     58     * @param  fChooseFullPath  Controls whether we should propose to choose location. */
     59    UINameAndSystemEditor(QWidget *pParent, bool fChooseLocation = false);
    6160
    6261    /** Returns the VM name. */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp

    r72594 r72603  
    328328    {
    329329        m_pLabel = new QIRichTextLabel(this);
    330         m_pNameAndSystemEditor = new UINameAndSystemEditor(this, true, strGroup);
     330        m_pNameAndSystemEditor = new UINameAndSystemEditor(this, true);
    331331        pMainLayout->addWidget(m_pLabel);
    332332        pMainLayout->addWidget(m_pNameAndSystemEditor);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp

    r72594 r72603  
    5555            QHBoxLayout *pNameAndSystemCntLayout = new QHBoxLayout(m_pNameAndSystemCnt);
    5656            {
    57                 m_pNameAndSystemEditor = new UINameAndSystemEditor(m_pNameAndSystemCnt, true, strGroup);
     57                m_pNameAndSystemEditor = new UINameAndSystemEditor(m_pNameAndSystemCnt, true);
    5858                pNameAndSystemCntLayout->addWidget(m_pNameAndSystemEditor);
    5959            }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette