- Timestamp:
- Jun 22, 2020 10:23:02 AM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r84890 r84892 613 613 AssertMsg(!comUnattendedInstaller.isNull(), ("Could not create unattended installer!\n")); 614 614 615 UIUnattendedInstallData unattendedInstallData; 616 unattendedInstallData.m_strUserName = comUnattendedInstaller.GetUser(); 617 unattendedInstallData.m_strPassword = comUnattendedInstaller.GetPassword(); 618 619 pWizard->setDefaultUnattendedInstallData(unattendedInstallData); 620 615 621 /* Execute wizard: */ 616 622 pWizard->exec(); 617 623 618 624 /* Cache unattended install related info and delete the wizard before handling the unattended install stuff: */ 619 UIUnattendedInstallDataunattendedInstallData = pWizard->unattendedInstallData();625 unattendedInstallData = pWizard->unattendedInstallData(); 620 626 621 627 delete pWizard; -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h
r84890 r84892 36 36 class UIAction; 37 37 class UIActionPool; 38 classUIUnattendedInstallData;38 struct UIUnattendedInstallData; 39 39 class UIVirtualBoxManagerWidget; 40 40 class UIVirtualMachineItem; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r84890 r84892 511 511 } 512 512 513 void UIWizardNewVM::setDefaultUnattendedInstallData(const UIUnattendedInstallData &unattendedInstallData) 514 { 515 m_unattendedInstallData = unattendedInstallData; 516 } 517 513 518 const UIUnattendedInstallData &UIWizardNewVM::unattendedInstallData() const 514 519 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.h
r84890 r84892 73 73 /** Returns the Id of newly created VM. */ 74 74 QUuid createdMachineId() const; 75 void setDefaultUnattendedInstallData(const UIUnattendedInstallData &unattendedInstallData); 75 76 const UIUnattendedInstallData &unattendedInstallData() const; 76 77 bool isUnattendedInstallEnabled() const;
Note:
See TracChangeset
for help on using the changeset viewer.