Code: Select all
/*************************************************************************
Destructor
*************************************************************************/
MultiColumnListWidget::~MultiColumnListWidget(void)
{
removeChildWindow(*d_header);
removeChildWindow(*d_horzScroller);
removeChildWindow(*d_vertScroller);
delete d_header;
delete d_horzScroller;
delete d_vertScroller;
delete d_sortColumnChangedCommand;
delete d_headerSizedCommand;
}
Should be:
Code: Select all
/*************************************************************************
Destructor
*************************************************************************/
MultiColumnListWidget::~MultiColumnListWidget(void)
{
removeChildWindow(*d_header);
removeChildWindow(*d_horzScroller);
removeChildWindow(*d_vertScroller);
delete d_header;
delete d_horzScroller;
delete d_vertScroller;
delete d_sortColumnChangedCommand;
delete d_headerSizedCommand;
delete d_headerDblClickCommand; // *** added this
}
I just added the last delete, which is "delete d_headerDblClickCommand;".
I checked CVS to make sure that it was there as well, and it is there as well. Thanks again for the GUI system.