konqueror: make sure to clean pointers in iconview (add-up to previous commit)

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/387/head
Michele Calgaro 1 year ago
parent bfb2c13ee3
commit de59847577
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -427,6 +427,13 @@ KonqKfmIconView::~KonqKfmIconView()
delete m_pProps;
//no need for that, KParts deletes our widget already ;-)
// delete m_pIconView;
m_pActivateDoubleClickTimer->stop();
delete m_pActivateDoubleClickTimer;
if (m_pTimeoutRefreshTimer)
{
m_pTimeoutRefreshTimer->stop();
delete m_pTimeoutRefreshTimer;
}
}
const KFileItem * KonqKfmIconView::currentItem()

Loading…
Cancel
Save