VirtualBox

Changeset 33925 in vbox


Ignore:
Timestamp:
Nov 10, 2010 9:01:06 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Fixing assert in VBoxMediumComboBox which happens if medium enumeration was not running at VM selector startup (for example when there was no used IMediums at all).

File:
1 edited

Legend:

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

    r33712 r33925  
    50065006
    50075007    mValid = true;
     5008
     5009    /* Cache IMedium data.
     5010     * There could be no used mediums at all,
     5011     * but this method should be run anyway just to enumerate null VBoxMedium object,
     5012     * used by some VBox smart widgets, like VBoxMediaComboBox: */
     5013    vboxGlobal().startEnumeratingMedia();
    50085014}
    50095015
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