Changeset 82227 in vbox
- Timestamp:
- Nov 26, 2019 6:35:15 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 135042
- Location:
- trunk/src/VBox/Debugger
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/VBoxDbgConsole.cpp
r77412 r82227 490 490 m_fTerminate(false), m_fThreadTerminated(false) 491 491 { 492 /* Delete dialog on close: */ 493 setAttribute(Qt::WA_DeleteOnClose); 494 492 495 /* 493 496 * Create the output text box. … … 994 997 { 995 998 if (m_fThreadTerminated) 996 {997 999 a_pCloseEvt->accept(); 998 delete this;999 }1000 1000 } 1001 1001 -
trunk/src/VBox/Debugger/VBoxDbgStatsQt.cpp
r77412 r82227 3043 3043 , m_PatStr(pszPat), m_pPatCB(NULL), m_uRefreshRate(0), m_pTimer(NULL), m_pView(NULL) 3044 3044 { 3045 /* Delete dialog on close: */ 3046 setAttribute(Qt::WA_DeleteOnClose); 3047 3045 3048 /* 3046 3049 * On top, a horizontal box with the pattern field, buttons and refresh interval. … … 3149 3152 { 3150 3153 a_pCloseEvt->accept(); 3151 delete this; /** @todo This is wrong! We get more events after this one and end up using memory after freeing it in vPolishSizeAndPos(). (Qt3 holdover?) */3152 3154 } 3153 3155
Note:
See TracChangeset
for help on using the changeset viewer.