- Timestamp:
- Feb 27, 2023 5:24:41 PM (22 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp
r98751 r98762 829 829 isHWVirtExUXEnabled(), 830 830 paravirtProvider()); 831 } 832 833 void UIMachine::generateMachineInformationGeneral(const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions, 834 UITextTable &returnTable) 835 { 836 uisession()->generateMachineInformationGeneral(fOptions, returnTable); 831 837 } 832 838 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.h
r98751 r98762 40 40 #include "UIMachineDefs.h" 41 41 #include "UIMousePointerShapeData.h" 42 #include "UITextTable.h" 42 43 43 44 /* COM includes: */ … … 47 48 class QWidget; 48 49 class UIActionPool; 50 class UIMachineLogic; 49 51 class UISession; 50 class UIMachineLogic;51 52 class CMediumAttachment; 52 53 class CNetworkAdapter; … … 627 628 /** @} */ 628 629 630 /** @name VM information stuff. 631 ** @{ */ 632 /** Return general info. for the machine(). */ 633 void generateMachineInformationGeneral(const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions, 634 UITextTable &returnTable); 635 /** @} */ 636 629 637 public slots: 630 638 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIInformationConfiguration.cpp
r98761 r98762 45 45 #include "UIInformationConfiguration.h" 46 46 #include "UIMachine.h" 47 #include "UISession.h"48 47 #include "UIVirtualBoxEventHandler.h" 49 48 … … 110 109 void UIInformationConfiguration::createTableItems() 111 110 { 112 if (!m_pTableWidget) 113 return; 114 if (!gpMachine || !gpMachine->uisession()) 115 return; 116 UISession *pSession = gpMachine->uisession(); 111 if (!m_pTableWidget || !gpMachine) 112 return; 113 117 114 resetTable(); 118 115 QFontMetrics fontMetrics(m_pTableWidget->font()); 119 116 int iMaxColumn1Length = 0; 117 120 118 /* General section: */ 121 119 insertTitleRow(m_strGeneralTitle, UIIconPool::iconSet(":/machine_16px.png"), fontMetrics); 122 120 UITextTable infoRows; 123 pSession->generateMachineInformationGeneral(UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral_Default, infoRows);121 gpMachine->generateMachineInformationGeneral(UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral_Default, infoRows); 124 122 insertInfoRows(infoRows, fontMetrics, iMaxColumn1Length); 125 123
Note:
See TracChangeset
for help on using the changeset viewer.