VirtualBox

Ignore:
Timestamp:
Sep 27, 2012 11:39:05 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Additional patch for r80465, fixing assertion appeared in null-

File:
1 edited

Legend:

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

    r43127 r43449  
    38423842bool VBoxGlobal::isSheetWindowAllowed(QWidget *pParent) const
    38433843{
     3844    /* Disallow for null parent: */
     3845    if (!pParent)
     3846        return false;
     3847
    38443848    /* Make sure Mac Sheet is not used for the same parent now. */
    38453849    if (sheetWindowUsed(pParent))
     
    38573861void VBoxGlobal::setSheetWindowUsed(QWidget *pParent, bool fUsed)
    38583862{
     3863    /* Ignore null parent: */
     3864    if (!pParent)
     3865        return;
     3866
    38593867    if (fUsed)
    38603868    {
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