VirtualBox

Changeset 83164 in vbox


Ignore:
Timestamp:
Feb 26, 2020 7:06:10 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: More strict Details pane update when cloud VM state-change signal received, s.a. r136284.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp

    r83163 r83164  
    286286void UIVirtualBoxManagerWidget::sltHandleCloudMachineStateChange(const QString &strId)
    287287{
    288     /* If that is machine or group item selected: */
    289     if (isMachineItemSelected() || isGroupItemSelected())
    290     {
    291         /* Recache current item info: */
    292         recacheCurrentItemInformation();
    293     }
    294 
    295288    /* Acquire current item: */
    296289    UIVirtualMachineItem *pItem = currentItem();
    297290
    298     /* Repeat the task only if we are still on the same item: */
     291    /* If we still have same item selected: */
    299292    if (pItem && pItem->id() == strId)
     293    {
     294        /* Propagate current items to update the Details-pane: */
     295        m_pPaneToolsMachine->setItems(currentItems());
     296        /* Repeat the task a bit delayed: */
    300297        pItem->toCloud()->updateInfoAsync(true /* delayed? */);
     298    }
    301299
    302300    /* Pass the signal further: */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette