Changeset 54849 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 19, 2015 2:42:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r54795 r54849 2424 2424 /* Get the attachment medium base: */ 2425 2425 const CMedium medium = attachment.GetMedium().GetBase(); 2426 /* Update the map with this medium if necessary: */ 2427 const QString strKeyId = medium.GetProperty("CRYPT/KeyId"); 2428 if (!strKeyId.isEmpty()) 2429 encryptedMediums.insert(strKeyId, medium.GetId()); 2426 /* Update the map with this medium if it's encrypted: */ 2427 QString strCipher; 2428 const QString strPasswordId = medium.GetEncryptionSettings(strCipher); 2429 if (medium.isOk()) 2430 encryptedMediums.insert(strPasswordId, medium.GetId()); 2430 2431 } 2431 2432 }
Note:
See TracChangeset
for help on using the changeset viewer.