Changeset 90088 in vbox
- Timestamp:
- Jul 8, 2021 9:24:46 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145587
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r89248 r90088 325 325 } 326 326 327 void UIVirtualBoxManagerWidget::sltHandleStateChange(const QUuid &) 328 { 327 void UIVirtualBoxManagerWidget::sltHandleStateChange(const QUuid &uId) 328 { 329 // WORKAROUND: 330 // In certain intermediate states VM info can be NULL which 331 // causing annoying assertions, such updates can be ignored? 332 CVirtualBox comVBox = uiCommon().virtualBox(); 333 CMachine comMachine = comVBox.FindMachine(uId.toString()); 334 if (comVBox.isOk() && comMachine.isNotNull()) 335 { 336 switch (comMachine.GetState()) 337 { 338 case KMachineState_DeletingSnapshot: 339 return; 340 default: 341 break; 342 } 343 } 344 329 345 /* Recache current item info if machine or group item selected: */ 330 346 if (isMachineItemSelected() || isGroupItemSelected())
Note:
See TracChangeset
for help on using the changeset viewer.