From: Peter Penz Date: Mon, 11 Feb 2008 16:55:16 +0000 (+0000) Subject: fixed crash when cancelling the "apply view properties" dialog X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/142c7628e8687e7236f80ed23f26c80f87915d1f fixed crash when cancelling the "apply view properties" dialog BUG: 156752 svn path=/trunk/KDE/kdebase/apps/; revision=773706 --- diff --git a/src/viewpropsprogressinfo.cpp b/src/viewpropsprogressinfo.cpp index c841a1331..c073d3d46 100644 --- a/src/viewpropsprogressinfo.cpp +++ b/src/viewpropsprogressinfo.cpp @@ -136,10 +136,12 @@ void ViewPropsProgressInfo::cancelApplying() { if (m_dirSizeJob != 0) { m_dirSizeJob->kill(); + m_dirSizeJob = 0; } if (m_applyViewPropsJob != 0) { m_applyViewPropsJob->kill(); + m_applyViewPropsJob = 0; } }