Changeset 79684 in vbox
- Timestamp:
- Jul 11, 2019 7:57:10 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132014
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic2.cpp ¶
r79683 r79684 54 54 { 55 55 return qobject_cast<UIWizardNewCloudVM*>(wizardImp())->vsd(); 56 } 57 58 void UIWizardNewCloudVMPage2::setVSDForm(const CVirtualSystemDescriptionForm &comForm) 59 { 60 qobject_cast<UIWizardNewCloudVM*>(wizardImp())->setVSDForm(comForm); 56 61 } 57 62 … … 130 135 /* Check cloud settings: */ 131 136 fResult = client().isNotNull() 132 && vsd().isNotNull() 133 && vsdForm().isNotNull(); 137 && vsd().isNotNull(); 134 138 135 139 /* Return result: */ … … 147 151 /* Check whether we have proper VSD form: */ 148 152 CVirtualSystemDescriptionForm comForm = vsdForm(); 149 fResult = comForm.isNotNull();150 Assert(fResult);151 152 153 /* Give changed VSD back: */ 153 if ( fResult)154 if (comForm.isNotNull()) 154 155 { 155 156 comForm.GetVirtualSystemDescription(); … … 157 158 if (!fResult) 158 159 msgCenter().cannotAcquireVirtualSystemDescriptionFormProperty(comForm); 160 setVSDForm(CVirtualSystemDescriptionForm()); 159 161 } 160 162 -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic2.h ¶
r79587 r79684 50 50 /** Returns Virtual System Description object. */ 51 51 CVirtualSystemDescription vsd() const; 52 53 /** Defines Virtual System Description @a comForm object. */ 54 void setVSDForm(const CVirtualSystemDescriptionForm &comForm); 52 55 /** Returns Virtual System Description Form object. */ 53 56 CVirtualSystemDescriptionForm vsdForm() const; -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp ¶
r79595 r79684 253 253 /* Check cloud settings: */ 254 254 fResult = UIWizardNewCloudVMPage1::client().isNotNull() 255 && UIWizardNewCloudVMPage1::vsd().isNotNull() 256 && UIWizardNewCloudVMPage1::vsdForm().isNotNull(); 255 && UIWizardNewCloudVMPage1::vsd().isNotNull(); 257 256 258 257 /* Return result: */ … … 270 269 /* Check whether we have proper VSD form: */ 271 270 CVirtualSystemDescriptionForm comForm = UIWizardNewCloudVMPage1::vsdForm(); 272 fResult = comForm.isNotNull();273 Assert(fResult);274 275 271 /* Give changed VSD back: */ 276 if ( fResult)272 if (comForm.isNotNull()) 277 273 { 278 274 comForm.GetVirtualSystemDescription(); … … 280 276 if (!fResult) 281 277 msgCenter().cannotAcquireVirtualSystemDescriptionFormProperty(comForm); 278 UIWizardNewCloudVMPage1::setVSDForm(CVirtualSystemDescriptionForm()); 282 279 } 283 280
Note:
See TracChangeset
for help on using the changeset viewer.