Changeset 38103 in vbox
- Timestamp:
- Jul 21, 2011 4:12:04 PM (14 years ago)
- 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 760 760 CMachine machine = item->machine(); 761 761 762 UICloneVMWizard wzd(this, machine , false);762 UICloneVMWizard wzd(this, machine); 763 763 wzd.exec(); 764 764 } -
trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp
r37588 r38103 686 686 687 687 CMachine machine; 688 bool fShowChildsOption = false;688 CSnapshot snapshot; 689 689 if (item->isCurrentStateItem()) 690 690 machine = item->machine(); 691 691 else 692 692 { 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(); 698 696 } 699 697 AssertReturn(!machine.isNull(), (void)0); 700 698 701 UICloneVMWizard wzd(this, machine, fShowChildsOption);699 UICloneVMWizard wzd(this, machine, snapshot); 702 700 wzd.exec(); 703 701 }
Note:
See TracChangeset
for help on using the changeset viewer.