VirtualBox

Changeset 68165 in vbox for trunk/src


Ignore:
Timestamp:
Jul 29, 2017 8:27:38 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: Animation framework: A bit of sanity defense.

File:
1 edited

Legend:

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

    r62493 r68165  
    102102    /* Prepare state-transitions: */
    103103    QSignalTransition *pStartToFinal = m_pStateStart->addTransition(parent(), m_pszSignalForward, m_pStateFinal);
     104    AssertPtrReturnVoid(pStartToFinal);
    104105    pStartToFinal->addAnimation(m_pForwardAnimation);
    105106    QSignalTransition *pFinalToStart = m_pStateFinal->addTransition(parent(), m_pszSignalReverse, m_pStateStart);
     107    AssertPtrReturnVoid(pFinalToStart);
    106108    pFinalToStart->addAnimation(m_pReverseAnimation);
    107109
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