VirtualBox

Changeset 22411 in vbox


Ignore:
Timestamp:
Aug 24, 2009 12:57:39 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: 4234: Crash when removing the last disk from the media manager: trying to fix the issue.

File:
1 edited

Legend:

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

    r22167 r22411  
    907907    updateTabIcons (item, ItemAction_Removed);
    908908
     909    /* We need to silently delete item without selecting
     910     * the new one because of complex selection mechanism
     911     * which could provoke a segfault choosing the new
     912     * one item during last item deletion routine. So blocking
     913     * the tree-view for the time of item removing. */
     914    tree->blockSignals (true);
    909915    delete item;
     916    tree->blockSignals (false);
    910917
    911918    /* Note: current items on invisible tabs are not updated because
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