diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-20 16:08:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-20 18:26:32 +0900 |
commit | 493359874c2e13152cb48779cea92c482132e1eb (patch) | |
tree | a469c08a67104ff2d43aa87faa09eb0e72ca35e2 | |
parent | 27370dc43a2f976917c07db600e1d22781625db8 (diff) | |
download | tdebase-493359874c2e13152cb48779cea92c482132e1eb.tar.gz tdebase-493359874c2e13152cb48779cea92c482132e1eb.zip |
konqueror: make sure to clean pointers in iconview (add-up to previous commit)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit de59847577422ad2843083205840a983ff95f2c2)
-rw-r--r-- | konqueror/iconview/konq_iconview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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() |