Changeset 86792 in vbox
- Timestamp:
- Nov 3, 2020 11:23:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.cpp
r86779 r86792 72 72 CProgress UIProgressTaskRefreshCloudMachine::createProgress() 73 73 { 74 /* Prepare resulting progress-wrapper: */ 75 CProgress comResult; 76 77 /* Initialize actual progress-wrapper: */ 74 78 CProgress comProgress = m_comCloudMachine.Refresh(); 75 79 if (!m_comCloudMachine.isOk()) 76 80 msgCenter().cannotAcquireCloudMachineParameter(m_comCloudMachine); 77 return comProgress; 81 else 82 comResult = comProgress; 83 84 /* Return progress-wrapper in any case: */ 85 return comResult; 78 86 } 79 87 80 88 void UIProgressTaskRefreshCloudMachine::handleProgressFinished(CProgress &comProgress) 81 89 { 90 /* Handle progress-wrapper errors: */ 82 91 if (!comProgress.GetCanceled() && (!comProgress.isOk() || comProgress.GetResultCode() != 0)) 83 92 msgCenter().cannotAcquireCloudMachineParameter(comProgress);
Note:
See TracChangeset
for help on using the changeset viewer.