- Timestamp:
- Jan 11, 2019 12:54:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r76606 r76772 105 105 UIToolType UIVirtualBoxManagerWidget::toolsType() const 106 106 { 107 return m_pPaneTools ->toolsType();107 return m_pPaneTools ? m_pPaneTools->toolsType() : UIToolType_Invalid; 108 108 } 109 109 110 110 UIToolType UIVirtualBoxManagerWidget::currentGlobalTool() const 111 111 { 112 return m_pPaneToolsGlobal ->currentTool();112 return m_pPaneToolsGlobal ? m_pPaneToolsGlobal->currentTool() : UIToolType_Invalid; 113 113 } 114 114 115 115 UIToolType UIVirtualBoxManagerWidget::currentMachineTool() const 116 116 { 117 return m_pPaneToolsMachine ->currentTool();117 return m_pPaneToolsMachine ? m_pPaneToolsMachine->currentTool() : UIToolType_Invalid; 118 118 } 119 119
Note:
See TracChangeset
for help on using the changeset viewer.