VirtualBox

Changeset 91565 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 5, 2021 11:14:30 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996: UIApplianceEditorWidget: Move setVirtualSystemBaseFolder API to public area, will be called from outside.

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

Legend:

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

    r91537 r91565  
    18601860}
    18611861
     1862void UIApplianceEditorWidget::setVirtualSystemBaseFolder(const QString &strPath)
     1863{
     1864    /* Make sure model exists, it's being created in sub-classes: */
     1865    if (m_pModel)
     1866        m_pModel->setVirtualSystemBaseFolder(strPath);
     1867}
     1868
    18621869void UIApplianceEditorWidget::restoreDefaults()
    18631870{
     
    18911898}
    18921899
    1893 void UIApplianceEditorWidget::setVirtualSystemBaseFolder(const QString& path)
    1894 {
    1895     if (!m_pModel)
    1896         return;
    1897     m_pModel->setVirtualSystemBaseFolder(path);
    1898 }
    1899 
    19001900
    19011901#include "UIApplianceEditorWidget.moc"
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.h

    r91537 r91565  
    302302    CAppliance *appliance() const { return m_pAppliance; }
    303303
     304    /** Defines virtual system base folder @a strPath. */
     305    void setVirtualSystemBaseFolder(const QString &strPath);
     306
    304307    /** Returns the minimum guest RAM. */
    305308    static int minGuestRAM() { return m_minGuestRAM; }
     
    321324    virtual void retranslateUi() /* override */;
    322325
    323     void setVirtualSystemBaseFolder(const QString& path);
    324 
    325326    /** Holds the list of VSD hints. */
    326327    AbstractVSDParameterList  m_listVsdHints;
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