Changeset 89107 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 17, 2021 3:33:21 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.cpp
r86986 r89107 735 735 void UIFileManager::hidePanel(UIDialogPanel* panel) 736 736 { 737 if (!m_pActionPool) 738 return; 737 739 if (panel && panel->isVisible()) 738 740 panel->setVisible(false); -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.h
r86233 r89107 23 23 24 24 /* Qt includes: */ 25 #include <QPointer> 25 26 #include <QWidget> 26 27 … … 180 181 CEventListener m_comGuestListener; 181 182 const EmbedTo m_enmEmbedding; 182 UIActionPool *m_pActionPool;183 QPointer<UIActionPool> m_pActionPool; 183 184 const bool m_fShowToolbar; 184 185 QMap<UIDialogPanel*, QAction*> m_panelActionMap; -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
r89104 r89107 1047 1047 void UIVMLogViewerWidget::hidePanel(UIDialogPanel* panel) 1048 1048 { 1049 if (!panel) 1050 return; 1051 if (!m_pActionPool) 1049 if (!panel || !m_pActionPool) 1052 1050 return; 1053 1051 if (panel->isVisible())
Note:
See TracChangeset
for help on using the changeset viewer.