Changeset 55329 in vbox for trunk/src/VBox
- Timestamp:
- Apr 17, 2015 1:27:10 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r54199 r55329 397 397 398 398 #ifdef VBOX_WITH_EXTPACK 399 /* VRDE Extension Pack presence test: */ 399 400 CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(GUI_ExtPackName); 400 401 if (m_pCheckboxRemoteDisplay->isChecked() && (extPack.isNull() || !extPack.GetUsable())) 401 402 { 402 403 message.second << tr("Remote Display is currently enabled for this virtual machine. " 403 "However, this requires the < b>%1</b> to be installed. "404 "However, this requires the <i>%1</i> to be installed. " 404 405 "Please install the Extension Pack from the VirtualBox download site as " 405 406 "otherwise your VM will be started with Remote Display disabled.") -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp
r55305 r55329 31 31 /* COM includes: */ 32 32 # include "CMedium.h" 33 # include "CExtPack.h" 34 # include "CExtPackManager.h" 33 35 # include "CMediumAttachment.h" 34 36 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 398 400 if (m_pCheckBoxEncryption->isChecked()) 399 401 { 402 #ifdef VBOX_WITH_EXTPACK 403 /* Encryption Extension Pack presence test: */ 404 const CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(GUI_ExtPackName); 405 if (extPack.isNull() || !extPack.GetUsable()) 406 { 407 message.second << tr("You are trying to encrypt this virtual machine. " 408 "However, this requires the <i>%1</i> to be installed. " 409 "Please install the Extension Pack from the VirtualBox download site.") 410 .arg(GUI_ExtPackName); 411 fPass = false; 412 } 413 #endif /* VBOX_WITH_EXTPACK */ 414 400 415 /* Cipher should be chosen if once changed: */ 401 416 AssertPtrReturn(m_pComboCipher, false); … … 405 420 if (m_pComboCipher->currentIndex() == 0) 406 421 message.second << tr("Encryption cipher type not specified."); 422 fPass = false; 407 423 } 424 408 425 /* Password should be entered and confirmed if once changed: */ 409 426 AssertPtrReturn(m_pEditorEncryptionPassword, false); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp
r54644 r55329 501 501 502 502 #ifdef VBOX_WITH_EXTPACK 503 /* USB 2.0 Extension Pack presence test: */503 /* USB 2.0/3.0 Extension Pack presence test: */ 504 504 CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(GUI_ExtPackName); 505 505 if ( mGbUSB->isChecked() … … 509 509 /* Prepare message: */ 510 510 UIValidationMessage message; 511 message.second << tr("USB 2.0 is currently enabled for this virtual machine. "512 "However, this requires the < b>%1</b> to be installed. "511 message.second << tr("USB 2.0/3.0 is currently enabled for this virtual machine. " 512 "However, this requires the <i>%1</i> to be installed. " 513 513 "Please install the Extension Pack from the VirtualBox download site " 514 514 "or disable USB 2.0 to be able to start the machine.")
Note:
See TracChangeset
for help on using the changeset viewer.