VirtualBox

Changeset 90477 in vbox for trunk/src


Ignore:
Timestamp:
Aug 2, 2021 1:19:47 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10067: Adjust progress task to create progress object only if IProgress isn't complete yet; This is a protection against IProgress finished almost instantly after creation; Also, we should handle instantly finished progresses as progresses finished the usual way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIProgressTask.cpp

    r90254 r90477  
    6868
    6969    /* Make sure progress valid: */
    70     if (m_comProgress.isNull())
     70    if (   m_comProgress.isNull()
     71        || m_comProgress.GetCompleted())
    7172    {
    7273        /* Notify external listeners: */
    7374        emit sigProgressStarted();
    74         emit sigProgressFinished();
     75        sltHandleProgressEventHandlingFinished();
    7576    }
    7677    else
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