VirtualBox

Changeset 107680 in vbox for trunk/src


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

FE/Qt: bugref:3409: VM Information Dialog: Fixing more parfait warnings related to redundant condition check; Same as r166772.

File:
1 edited

Legend:

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

    r106061 r107680  
    476476        if (!pItem)
    477477            continue;
    478         QString strColumn1 = pItem ? pItem->text() : QString();
     478        const QString strColumn1 = pItem->text();
    479479        pItem = static_cast<QITableWidgetItem*>(item(i, 2));
    480480        if (!pItem)
    481481            continue;
    482         QString strColumn2 = pItem ? pItem->text() : QString();
     482        const QString strColumn2 = pItem->text();
    483483        if (strColumn2.isEmpty())
    484484            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