Changeset 83682 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 13, 2020 4:49:50 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137177
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp
r83673 r83682 307 307 int iPosition = 0; 308 308 foreach (const CCloudMachine &comCloudMachine, machines) 309 { 310 /* Create new node: */ 311 UIChooserNodeMachine *pNode = new UIChooserNodeMachine(pParentNode, 312 false /* favorite */, 313 iPosition++ /* position */, 314 comCloudMachine); 315 /* Request async node update: */ 316 pNode->cache()->toCloud()->updateInfoAsync(false /* delayed? */); 317 } 309 new UIChooserNodeMachine(pParentNode, 310 false /* favorite */, 311 iPosition++ /* position */, 312 comCloudMachine); 318 313 } 319 314 else -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r83676 r83682 943 943 // cause there is no corresponding event yet. Later this to be done in corresponding event handler instead. 944 944 foreach (const CCloudMachine &comMachine, pWizard->machines()) 945 { 946 // Create new node: 947 UIChooserNodeMachine *pNode = new UIChooserNodeMachine(pGroup->node(), 948 false /* favorite */, 949 pGroup->node()->nodes().size() /* position */, 950 comMachine); 951 // Request async node update: 952 pNode->cache()->toCloud()->updateInfoAsync(false /* delayed? */); 953 } 945 new UIChooserNodeMachine(pGroup->node(), 946 false /* favorite */, 947 pGroup->node()->nodes().size() /* position */, 948 comMachine); 954 949 // Remember first selected item definition: 955 950 const QString strDefinition = firstSelectedItem()->definition();
Note:
See TracChangeset
for help on using the changeset viewer.