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 16:08:13 +0900 |
commit | de59847577422ad2843083205840a983ff95f2c2 (patch) | |
tree | 88219856c0d1d2da01a756389307b49c8185f09a | |
parent | bfb2c13ee37585256a4a9e78989f68376cd28e34 (diff) | |
download | tdebase-de59847577422ad2843083205840a983ff95f2c2.tar.gz tdebase-de59847577422ad2843083205840a983ff95f2c2.zip |
konqueror: make sure to clean pointers in iconview (add-up to previous commit)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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() |