Changeset 24291 in vbox
- Timestamp:
- Nov 3, 2009 2:55:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SnapshotImpl.cpp
r24279 r24291 1797 1797 { 1798 1798 ComObjPtr<Snapshot> parentSnapshot = aTask.snapshot->parent(); 1799 Bstr stateFilePath = aTask.snapshot->stateFilePath();1799 Utf8Str stateFilePath = aTask.snapshot->stateFilePath(); 1800 1800 1801 1801 /* Note that discarding the snapshot will deassociate it from the … … 1810 1810 // if we implement some warning mechanism later, we'll have 1811 1811 // to return a warning if the state file path cannot be deleted 1812 if ( stateFilePath)1812 if (!stateFilePath.isEmpty()) 1813 1813 { 1814 1814 aTask.progress->SetNextOperation(Bstr(tr("Discarding the execution state")), 1815 1815 1); // weight 1816 1816 1817 RTFileDelete( Utf8Str(stateFilePath).c_str());1817 RTFileDelete(stateFilePath.c_str()); 1818 1818 } 1819 1819
Note:
See TracChangeset
for help on using the changeset viewer.