VirtualBox

Changeset 97600 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 17, 2022 5:41:35 PM (2 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6669: VirtualBox Manager: Settings stuff cleanup fix, missed side-case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r97597 r97600  
    11541154{
    11551155    /* What type of dialog should we delete? */
    1156     enum DelType { None, Local, Cloud, All } enmType = All;
     1156    enum DelType { None, Local, Cloud, All } enmType = None;
    11571157    if (qobject_cast<UISettingsDialog*>(sender()))
    11581158        enmType = (DelType)(enmType | Local);
    11591159    else if (qobject_cast<UICloudMachineSettingsDialog*>(sender()))
    11601160        enmType = (DelType)(enmType | Cloud);
     1161
     1162    /* It's all if nothing: */
     1163    if (enmType == None)
     1164        enmType = All;
    11611165
    11621166    /* Remove requested instances: */
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