Changeset 104642 in vbox
- Timestamp:
- May 15, 2024 1:44:49 PM (7 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/activity/vmactivity/UIVMActivityMonitor.cpp
r104621 r104642 45 45 #include "UICommon.h" 46 46 #include "UIConverter.h" 47 #include "UIExtraDataManager.h" 47 48 #include "UIGlobalSession.h" 48 49 #include "UIIconPool.h" … … 1480 1481 #ifdef DEBUG 1481 1482 chartOrder << Metric_Type_VM_Exits; 1483 #else 1484 if (gEDataManager->VMActivityMonitorShowVMExits()) 1485 chartOrder << Metric_Type_VM_Exits; 1482 1486 #endif 1483 1487 int iRow = 0; -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp
r104450 r104642 269 269 const char *UIExtraDataDefs::GUI_VMActivityOverview_ShowAllMachines = "GUI/VMActivityOverviewShowAllMachines"; 270 270 const char *UIExtraDataDefs::GUI_VMActivityMonitor_DataSeriesColors = "GUI/VMActivityMonitorDataSeriesColors"; 271 271 const char *UIExtraDataDefs::GUI_VMActivityMonitor_ShowVMExits = "GUI/VMActivityMonitorShowVMExits"; 272 272 const char *UIExtraDataDefs::GUI_MediumSelector_DialogGeometry = "GUI/MediumSelector/DialogGeometry"; 273 273 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r104450 r104642 477 477 SHARED_LIBRARY_STUFF extern const char *GUI_VMActivityOverview_ShowAllMachines; 478 478 SHARED_LIBRARY_STUFF extern const char *GUI_VMActivityMonitor_DataSeriesColors; 479 SHARED_LIBRARY_STUFF extern const char *GUI_VMActivityMonitor_ShowVMExits; 479 480 /** @} */ 480 481 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r104586 r104642 4808 4808 } 4809 4809 4810 bool UIExtraDataManager::VMActivityMonitorShowVMExits() 4811 { 4812 return isFeatureAllowed(GUI_VMActivityMonitor_ShowVMExits); 4813 } 4814 4815 void UIExtraDataManager::setVMActivityMonitorShowVMExits(bool fShow) 4816 { 4817 setExtraDataString(GUI_VMActivityMonitor_ShowVMExits, toFeatureAllowed(fShow)); 4818 } 4819 4810 4820 QRect UIExtraDataManager::mediumSelectorDialogGeometry(QWidget *pWidget, QWidget *pParentWidget, const QRect &defaultGeometry) 4811 4821 { -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r104450 r104642 876 876 void setVMActivityMonitorDataSeriesColors(const QStringList &colorList); 877 877 QStringList VMActivityMonitorDataSeriesColors(); 878 bool VMActivityMonitorShowVMExits(); 879 void setVMActivityMonitorShowVMExits(bool fShow); 878 880 /** @} */ 879 881
Note:
See TracChangeset
for help on using the changeset viewer.