VirtualBox

Changeset 86705 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 26, 2020 1:12:07 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: m_fPreventCloudProfileUpdate is not actually required, tree update should be more selective.

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  
    6767    , m_iScrollingTokenSize(30)
    6868    , m_fIsScrollingInProgress(false)
    69     , m_fPreventCloudProfileUpdate(false)
    7069    , m_pTimerCloudProfileUpdate(0)
    7170{
     
    12391238    UIChooserAbstractModel::sltHandleCloudListMachinesTaskComplete(pTask);
    12401239
    1241     /* Rebuild tree for main root: */
    1242     m_fPreventCloudProfileUpdate = true;
    1243     buildTreeForMainRoot(true /* preserve selection */);
    1244     m_fPreventCloudProfileUpdate = false;
    1245 
    12461240    /* Restart cloud profile update timer: */
    12471241    m_pTimerCloudProfileUpdate->start(10000);
     
    13141308void UIChooserModel::sltUpdateSelectedCloudProfiles()
    13151309{
    1316     /* Ignore if cloud profile update is restricted: */
    1317     if (m_fPreventCloudProfileUpdate)
    1318         return;
    1319 
    13201310    /* For every selected item: */
    13211311    QSet<UICloudAccountKey> selectedCloudAccountKeys;
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h

    r86656 r86705  
    460460    /** @name Cloud stuff.
    461461      * @{ */
    462         /** Holds whether cloud profile update is restricted. */
    463         bool    m_fPreventCloudProfileUpdate;
    464462        /** Holds cloud profile update timer instance. */
    465463        QTimer *m_pTimerCloudProfileUpdate;
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