Changeset 55977 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 20, 2015 4:52:25 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100486
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r55750 r55977 5 5 6 6 /* 7 * Copyright (C) 2010-201 4Oracle Corporation7 * Copyright (C) 2010-2015 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1424 1424 if (fDialogAccepted) 1425 1425 { 1426 QString strSnapshotId; 1426 1427 /* Prepare the take-snapshot progress: */ 1427 CProgress progress = machine().TakeSnapshot(strSnapshotName, strSnapshotDescription, true );1428 CProgress progress = machine().TakeSnapshot(strSnapshotName, strSnapshotDescription, true, strSnapshotId); 1428 1429 if (machine().isOk()) 1429 1430 { -
trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp
r55934 r55977 5 5 6 6 /* 7 * Copyright (C) 2006-201 4Oracle Corporation7 * Copyright (C) 2006-2015 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 889 889 if (fDialogAccepted) 890 890 { 891 QString strSnapshotId; 891 892 /* Prepare the take-snapshot progress: */ 892 CProgress progress = machine.TakeSnapshot(strSnapshotName, strSnapshotDescription, true );893 CProgress progress = machine.TakeSnapshot(strSnapshotName, strSnapshotDescription, true, strSnapshotId); 893 894 if (machine.isOk()) 894 895 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVM.cpp
r55214 r55977 5 5 6 6 /* 7 * Copyright (C) 2011-201 4Oracle Corporation7 * Copyright (C) 2011-2015 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 84 84 /* Take the snapshot: */ 85 85 QString strSnapshotName = tr("Linked Base for %1 and %2").arg(m_machine.GetName()).arg(strName); 86 CProgress progress = machine.TakeSnapshot(strSnapshotName, "", true); 86 QString strSnapshotId; 87 CProgress progress = machine.TakeSnapshot(strSnapshotName, "", true, strSnapshotId); 87 88 88 89 if (machine.isOk()) … … 107 108 108 109 /* Get the new snapshot and the snapshot machine. */ 109 const CSnapshot &newSnapshot = m_machine.FindSnapshot(strSnapshot Name);110 const CSnapshot &newSnapshot = m_machine.FindSnapshot(strSnapshotId); 110 111 if (newSnapshot.isNull()) 111 112 {
Note:
See TracChangeset
for help on using the changeset viewer.