Changeset 93547 in vbox for trunk/src/VBox
- Timestamp:
- Feb 2, 2022 5:28:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp
r93545 r93547 259 259 if (!cleanupMachineFolder(pWizard)) 260 260 { 261 UINotificationMessage::cannotRemoveMachineFolder(str MachineFolder, pWizard->notificationCenter());261 UINotificationMessage::cannotRemoveMachineFolder(strCreatedFolder, pWizard->notificationCenter()); 262 262 return false; 263 263 } … … 301 301 { 302 302 /* Try to cleanup folder (and it's predecessors): */ 303 bool fMachineFolderRemoved = QDir( ).rmpath(strCreatedFolder);303 bool fMachineFolderRemoved = QDir(strCreatedFolder).removeRecursively(); 304 304 /* Reset machine folder value: */ 305 305 if (fMachineFolderRemoved)
Note:
See TracChangeset
for help on using the changeset viewer.