From 493359874c2e13152cb48779cea92c482132e1eb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 20 Aug 2023 16:08:13 +0900 Subject: konqueror: make sure to clean pointers in iconview (add-up to previous commit) Signed-off-by: Michele Calgaro (cherry picked from commit de59847577422ad2843083205840a983ff95f2c2) --- konqueror/iconview/konq_iconview.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'konqueror') diff --git a/konqueror/iconview/konq_iconview.cpp b/konqueror/iconview/konq_iconview.cpp index 396e7d301..17f62744d 100644 --- a/konqueror/iconview/konq_iconview.cpp +++ b/konqueror/iconview/konq_iconview.cpp @@ -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() -- cgit v1.2.1