Changeset 84162 in vbox
- Timestamp:
- May 6, 2020 2:09:02 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137765
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.cpp
r82968 r84162 20 20 21 21 /* GUI includes: */ 22 #include "UICommon.h" 22 23 #include "UIMessageCenter.h" 23 24 #include "UIWizardNewCloudVM.h" … … 27 28 28 29 /* COM includes: */ 30 #include "CCloudMachine.h" 29 31 #include "CProgress.h" 30 32 … … 140 142 141 143 /* Initiate cloud VM creation procedure: */ 142 CProgress comProgress = comClient.LaunchVM(comDescription); 144 CCloudMachine comMachine; 145 CProgress comProgress = comClient.CreateCloudMachine(comDescription, comMachine); 143 146 if (!comClient.isOk()) 144 147 { … … 157 160 break; 158 161 } 162 163 /* Check whether VM really added: */ 164 if (comMachine.isNotNull()) 165 uiCommon().notifyCloudMachineRegistered(field("destination").toString(), 166 field("profileName").toString(), 167 comMachine.GetId(), 168 true /* registered */); 159 169 160 170 /* Finally, success: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp
r82968 r84162 676 676 connect(m_pAccountImageList, &QListWidget::currentRowChanged, 677 677 this, &UIWizardNewCloudVMPageBasic1::completeChanged); 678 679 /* Register fields: */ 680 registerField("destination", this, "destination"); 681 registerField("profileName", this, "profileName"); 678 682 } 679 683 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.h
r82968 r84162 147 147 { 148 148 Q_OBJECT; 149 Q_PROPERTY(QString destination READ destination); 150 Q_PROPERTY(QString profileName READ profileName); 149 151 150 152 public: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp
r82968 r84162 185 185 connect(m_pAccountImageList, &QListWidget::currentRowChanged, 186 186 this, &UIWizardNewCloudVMPageExpert::sltHandleInstanceListChange); 187 188 /* Register fields: */ 189 registerField("destination", this, "destination"); 190 registerField("profileName", this, "profileName"); 187 191 } 188 192 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h
r82968 r84162 35 35 { 36 36 Q_OBJECT; 37 Q_PROPERTY(QString destination READ destination); 38 Q_PROPERTY(QString profileName READ profileName); 37 39 38 40 public:
Note:
See TracChangeset
for help on using the changeset viewer.