VirtualBox

Changeset 89038 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 14, 2021 10:22:30 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: Leak fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/activity/vmactivity/UIVMActivityMonitor.cpp

    r89036 r89038  
    10641064    foreach (const QString &strMetricName, chartOrder)
    10651065    {
     1066        if (!m_metrics.contains(strMetricName))
     1067            continue;
    10661068        QHBoxLayout *pChartLayout = new QHBoxLayout;
    10671069        pChartLayout->setSpacing(0);
    10681070
    1069         if (!m_metrics.contains(strMetricName))
    1070             continue;
    10711071        QLabel *pLabel = new QLabel(this);
    10721072        pLabel->setAlignment(Qt::AlignLeft | Qt::AlignTop);
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