Changeset 35710 in vbox
- Timestamp:
- Jan 25, 2011 1:14:13 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69646
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSnapshotDetailsDlg.cpp
r29354 r35710 106 106 AssertReturn (!mSnapshot.isNull(), (void) 0); 107 107 108 mSnapshot.SetName (mLeName->text()); 109 mSnapshot.SetDescription (mTeDescription->toPlainText()); 108 /* We need a session when we manipulate the snapshot data of a machine. */ 109 CSession session = vboxGlobal().openSession(mSnapshot.GetMachine().GetId(), true); 110 if (session.isNull()) 111 return; 112 113 mSnapshot.SetName(mLeName->text()); 114 mSnapshot.SetDescription(mTeDescription->toPlainText()); 115 116 /* Close the session again. */ 117 session.UnlockMachine(); 110 118 } 111 119
Note:
See TracChangeset
for help on using the changeset viewer.