VirtualBox

Changeset 38103 in vbox for trunk/src


Ignore:
Timestamp:
Jul 21, 2011 4:12:04 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: forgot some files

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSelectorWnd.cpp

    r37898 r38103  
    760760    CMachine machine = item->machine();
    761761
    762     UICloneVMWizard wzd(this, machine, false);
     762    UICloneVMWizard wzd(this, machine);
    763763    wzd.exec();
    764764}
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp

    r37588 r38103  
    686686
    687687    CMachine machine;
    688     bool fShowChildsOption = false;
     688    CSnapshot snapshot;
    689689    if (item->isCurrentStateItem())
    690690        machine = item->machine();
    691691    else
    692692    {
    693         const CSnapshot &snap = item->snapshot();
    694         AssertReturn(!snap.isNull(), (void)0);
    695         machine = snap.GetMachine();
    696         if (snap.GetChildrenCount() > 0)
    697             fShowChildsOption = true;
     693        snapshot = item->snapshot();
     694        AssertReturn(!snapshot.isNull(), (void)0);
     695        machine = snapshot.GetMachine();
    698696    }
    699697    AssertReturn(!machine.isNull(), (void)0);
    700698
    701     UICloneVMWizard wzd(this, machine, fShowChildsOption);
     699    UICloneVMWizard wzd(this, machine, snapshot);
    702700    wzd.exec();
    703701}
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