Changeset 86779 in vbox
- Timestamp:
- Nov 2, 2020 11:35:12 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 141178
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.cpp
r86774 r86779 144 144 } 145 145 146 void UIVirtualMachineItemCloud::stopAsyncUpdates() 147 { 148 /* Ignore cancel request if progress-task is absent: */ 149 if (!m_pProgressTaskRefresh) 150 return; 151 152 /* Mark update canceled in any case: */ 153 m_fRefreshScheduled = false; 154 } 155 146 156 void UIVirtualMachineItemCloud::waitForAsyncInfoUpdateFinished() 147 157 { -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualMachineItemCloud.h
r86774 r86779 74 74 QString fakeCloudItemErrorMessage() const { return m_strFakeCloudItemErrorMessage; } 75 75 76 /** Updates cloud VM info async way, @a fDelayed if requested or instant otherwise. */ 76 /** Updates cloud VM info async way, @a fDelayed if requested or instant otherwise. 77 * @param fSubscribe Brings whether this update should be performed periodically. */ 77 78 void updateInfoAsync(bool fDelayed, bool fSubscribe = false); 79 /** Stop periodical updates previously requested. */ 80 void stopAsyncUpdates(); 78 81 /** Makes sure async info update is finished. 79 82 * @note This method creates own event-loop to avoid blocking calling thread event processing, -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
r86771 r86779 235 235 pCloudMachineItem->updateInfoAsync(false /* delayed? */, true /* subscribe */); 236 236 else 237 pCloudMachineItem-> waitForAsyncInfoUpdateFinished();237 pCloudMachineItem->stopAsyncUpdates(); 238 238 } 239 239 }
Note:
See TracChangeset
for help on using the changeset viewer.