Changeset 86705 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 26, 2020 1:12:07 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r86668 r86705 67 67 , m_iScrollingTokenSize(30) 68 68 , m_fIsScrollingInProgress(false) 69 , m_fPreventCloudProfileUpdate(false)70 69 , m_pTimerCloudProfileUpdate(0) 71 70 { … … 1239 1238 UIChooserAbstractModel::sltHandleCloudListMachinesTaskComplete(pTask); 1240 1239 1241 /* Rebuild tree for main root: */1242 m_fPreventCloudProfileUpdate = true;1243 buildTreeForMainRoot(true /* preserve selection */);1244 m_fPreventCloudProfileUpdate = false;1245 1246 1240 /* Restart cloud profile update timer: */ 1247 1241 m_pTimerCloudProfileUpdate->start(10000); … … 1314 1308 void UIChooserModel::sltUpdateSelectedCloudProfiles() 1315 1309 { 1316 /* Ignore if cloud profile update is restricted: */1317 if (m_fPreventCloudProfileUpdate)1318 return;1319 1320 1310 /* For every selected item: */ 1321 1311 QSet<UICloudAccountKey> selectedCloudAccountKeys; -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h
r86656 r86705 460 460 /** @name Cloud stuff. 461 461 * @{ */ 462 /** Holds whether cloud profile update is restricted. */463 bool m_fPreventCloudProfileUpdate;464 462 /** Holds cloud profile update timer instance. */ 465 463 QTimer *m_pTimerCloudProfileUpdate;
Note:
See TracChangeset
for help on using the changeset viewer.