VirtualBox

Changeset 93950 in vbox for trunk


Ignore:
Timestamp:
Feb 25, 2022 2:01:40 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: Fixed a bunch of inverted NULL pointer checks in UIVMFilterLineEdit::createButtons - will probably change behaviour a bit. Again kudos to gcc 11.2.1 for pointing this out.

File:
1 edited

Legend:

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

    r93115 r93950  
    228228        }
    229229    }
    230     if (!m_pRemoveTermButton && !m_pClearAllButton)
     230    if (m_pRemoveTermButton && m_pClearAllButton)
    231231        setMinimumHeight(qMax(m_pRemoveTermButton->minimumHeight(), m_pClearAllButton->minimumHeight()));
    232     else if (!m_pRemoveTermButton)
     232    else if (m_pRemoveTermButton)
    233233        setMinimumHeight(m_pRemoveTermButton->minimumHeight());
    234     else if (!m_pClearAllButton)
     234    else if (m_pClearAllButton)
    235235        setMinimumHeight(m_pClearAllButton->minimumHeight());
    236236}
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