- Timestamp:
- Jul 28, 2017 1:07:39 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITableView.cpp
r68079 r68155 409 409 : QTableView(pParent) 410 410 { 411 /* Prepare all: */411 /* Prepare: */ 412 412 prepare(); 413 } 414 415 QITableView::~QITableView() 416 { 417 /* Cleanup: */ 418 cleanup(); 413 419 } 414 420 … … 476 482 } 477 483 484 void QITableView::cleanup() 485 { 486 /* Disconnect all the editors prematurelly: */ 487 foreach (QObject *pEditor, m_editors.values()) 488 disconnect(pEditor, 0, this, 0); 489 } 490 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITableView.h
r64479 r68155 98 98 /** Constructs table-view passing @a pParent to the base-class. */ 99 99 QITableView(QWidget *pParent = 0); 100 /** Destructs table-view. */ 101 virtual ~QITableView() /* override */; 100 102 101 103 /** Returns the number of children. */ … … 123 125 /** Prepares all. */ 124 126 void prepare(); 127 /** Cleanups all. */ 128 void cleanup(); 125 129 126 130 /** Holds the map of editors stored for passed indexes. */
Note:
See TracChangeset
for help on using the changeset viewer.