Changeset 54732 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 12, 2015 3:20:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r54731 r54732 696 696 } 697 697 } 698 /* Ask for disk encryption passwords : */698 /* Ask for disk encryption passwords if necessary: */ 699 699 EncryptionPasswordsMap encryptionPasswords; 700 QPointer<UIAddDiskEncryptionPasswordDialog> pDlg = 701 new UIAddDiskEncryptionPasswordDialog(machineLogic()->activeMachineWindow(), 702 encryptedPasswordIds); 703 if (pDlg->exec() == QDialog::Accepted) 704 encryptionPasswords = pDlg->encryptionPasswords(); 705 if (pDlg) 706 delete pDlg; 700 if (!encryptedPasswordIds.isEmpty()) 701 { 702 QPointer<UIAddDiskEncryptionPasswordDialog> pDlg = 703 new UIAddDiskEncryptionPasswordDialog(machineLogic()->activeMachineWindow(), 704 encryptedPasswordIds); 705 if (pDlg->exec() == QDialog::Accepted) 706 encryptionPasswords = pDlg->encryptionPasswords(); 707 if (pDlg) 708 delete pDlg; 709 } 707 710 708 711 /* Power UP machine: */
Note:
See TracChangeset
for help on using the changeset viewer.