VirtualBox

Ignore:
Timestamp:
Nov 28, 2016 2:57:26 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:7127: Finish medium-enumeration even if there is just one Null medium present, otherwise there will be m/e hang.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumEnumerator.cpp

    r62493 r64760  
    158158    m_fMediumEnumerationInProgress = true;
    159159    emit sigMediumEnumerationStarted();
     160
     161    /* Make sure we really have more than one medium (which is Null): */
     162    if (m_mediums.size() == 1)
     163    {
     164        /* Notify listener: */
     165        LogRel(("GUI: UIMediumEnumerator: Medium-enumeration finished!\n"));
     166        m_fMediumEnumerationInProgress = false;
     167        emit sigMediumEnumerationFinished();
     168    }
    160169
    161170    /* Start enumeration for UIMedium(s) with correct ID: */
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