summaryrefslogtreecommitdiffstats
path: root/konqueror
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-20 16:08:13 +0900
committerMichele Calgaro <[email protected]>2023-08-20 16:08:13 +0900
commitde59847577422ad2843083205840a983ff95f2c2 (patch)
tree88219856c0d1d2da01a756389307b49c8185f09a /konqueror
parentbfb2c13ee37585256a4a9e78989f68376cd28e34 (diff)
downloadtdebase-de59847577422ad2843083205840a983ff95f2c2.tar.gz
tdebase-de59847577422ad2843083205840a983ff95f2c2.zip
konqueror: make sure to clean pointers in iconview (add-up to previous commit)
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror')
-rw-r--r--konqueror/iconview/konq_iconview.cpp7
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()