VirtualBox

Changeset 104498 in vbox


Ignore:
Timestamp:
May 3, 2024 9:28:24 AM (7 months ago)
Author:
vboxsync
Message:

FE/Qt. bugref:9510. Hiding the guest control tab and vm exit chart in release builds.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

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

    r104481 r104498  
    14911491    QVector<Metric_Type> chartOrder;
    14921492    chartOrder << Metric_Type_CPU << Metric_Type_RAM <<
    1493         Metric_Type_Network_InOut << Metric_Type_Disk_InOut << Metric_Type_VM_Exits;
     1493        Metric_Type_Network_InOut << Metric_Type_Disk_InOut;
     1494#ifdef DEBUG
     1495    chartOrder << Metric_Type_VM_Exits;
     1496#endif
    14941497    int iRow = 0;
    14951498    foreach (Metric_Type enmType, chartOrder)
     
    15441547    {
    15451548        QVector<CPerformanceMetric> metrics = m_performanceCollector.GetMetrics(m_nameList, m_objectList);
    1546         printf("object list size %lld\n", metrics.size());
    15471549        for (int i = 0; i < metrics.size(); ++i)
    15481550        {
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIVMInformationDialog.cpp

    r104463 r104498  
    247247            m_pTabWidget->addTab(m_tabs.value(Tabs_ActivityMonitor), QString());
    248248        }
    249 
     249#ifdef DEBUG
    250250        /* Create Guest Process Control tab: */
    251251        UIGuestProcessControlWidget *pGuestProcessControlWidget =
     
    257257            m_pTabWidget->addTab(m_tabs.value(3), QString());
    258258        }
    259 
     259#endif
    260260        m_pTabWidget->setCurrentIndex(Tabs_ActivityMonitor);
    261261
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