VirtualBox

Changeset 107679 in vbox for trunk/src


Ignore:
Timestamp:
Jan 10, 2025 4:11:12 PM (10 days ago)
Author:
vboxsync
Message:

FE/Qt: bugref:3409: VM Information Dialog: Fixing few parfait warnings related to redundant condition check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIInformationConfiguration.cpp

    r106061 r107679  
    280280        if (!pItem)
    281281            continue;
    282         QString strColumn1 = pItem ? pItem->text() : QString();
     282        const QString strColumn1 = pItem->text();
    283283        pItem = static_cast<QITableWidgetItem*>(m_pTableWidget->item(i, 2));
    284284        if (!pItem)
    285285            continue;
    286         QString strColumn2 = pItem ? pItem->text() : QString();
     286        const QString strColumn2 = pItem->text();
    287287        if (strColumn2.isEmpty())
    288288            data << strColumn1;
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