fixed crash when cancelling the "apply view properties" dialog

BUG: 156752

svn path=/trunk/KDE/kdebase/apps/; revision=773706
This commit is contained in:
Peter Penz 2008-02-11 16:55:16 +00:00
parent 846b21edf5
commit 142c7628e8

View file

@ -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;
}
}