VirtualBox

Ignore:
Timestamp:
Jul 2, 2021 10:21:06 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145472
Message:

FE/Qt: bugref:9996: UINativeWizard: Missed sanity checks.

File:
1 edited

Legend:

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

    r89987 r89995  
    4545void UIFrame::paintEvent(QPaintEvent *pEvent)
    4646{
     47    /* Sanity check: */
     48    AssertPtrReturnVoid(pEvent);
     49
    4750    /* Prepare painter: */
    4851    QPainter painter(this);
     
    114117int UINativeWizard::addPage(UINativeWizardPage *pPage)
    115118{
     119    /* Sanity check: */
     120    AssertPtrReturn(pPage, -1);
     121    AssertPtrReturn(pPage->layout(), -1);
     122
    116123    /* Adjust page layout: */
    117124    const int iL = m_enmMode == WizardMode_Expert
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