VirtualBox

Changeset 54922 in vbox


Ignore:
Timestamp:
Mar 24, 2015 2:34:00 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Machine settings Serializer: Cleanup rework to prepare to the encryption settings integration (step 5).

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialog.cpp

    r54921 r54922  
    150150UISettingsDialog::~UISettingsDialog()
    151151{
     152    /* Delete serializer early if exists: */
     153    if (UISettingsSerializer::instance())
     154        delete UISettingsSerializer::instance();
     155
    152156    /* Recall popup-pane if any: */
    153157    popupCenter().recall(m_pStack, "SettingsDialogWarning");
     158
    154159    /* Delete selector early! */
    155160    delete m_pSelector;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp

    r54921 r54922  
    199199}
    200200
    201 UISettingsDialogGlobal::~UISettingsDialogGlobal()
    202 {
    203     /* Delete serializer early if exists: */
    204     if (UISettingsSerializer::instance())
    205         delete UISettingsSerializer::instance();
    206 }
    207 
    208201void UISettingsDialogGlobal::loadOwnData()
    209202{
     
    484477    else
    485478        m_pSelector->selectById(MachineSettingsPageType_General);
    486 }
    487 
    488 UISettingsDialogMachine::~UISettingsDialogMachine()
    489 {
    490     /* Delete serializer early if exists: */
    491     if (UISettingsSerializer::instance())
    492         delete UISettingsSerializer::instance();
    493479}
    494480
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.h

    r54921 r54922  
    3737                           const QString &strCategory = QString(),
    3838                           const QString &strControl = QString());
    39     ~UISettingsDialogGlobal();
    4039
    4140protected:
     
    6463    UISettingsDialogMachine(QWidget *pParent, const QString &strMachineId,
    6564                            const QString &strCategory, const QString &strControl);
    66     ~UISettingsDialogMachine();
    6765
    6866protected:
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