Changeset 89104 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 17, 2021 3:25:53 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/logviewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
r89036 r89104 1049 1049 if (!panel) 1050 1050 return; 1051 if (!m_pActionPool) 1052 return; 1051 1053 if (panel->isVisible()) 1052 1054 panel->setVisible(false); -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.h
r89011 r89104 25 25 #include <QKeySequence> 26 26 #include <QPair> 27 #include <QPointer> 27 28 #include <QWidget> 28 29 … … 207 208 /** Holds the widget's embedding type. */ 208 209 const EmbedTo m_enmEmbedding; 209 /** Hold sthe action-pool reference.*/210 UIActionPool *m_pActionPool;210 /** Holds the action-pool reference. Wrapped around with QPointer to avoid use-after-delete case during vm window close.*/ 211 QPointer<UIActionPool> m_pActionPool; 211 212 /** Holds whether we should create/show toolbar. */ 212 213 const bool m_fShowToolbar;
Note:
See TracChangeset
for help on using the changeset viewer.