fix signal

svn path=/trunk/KDE/kdebase/apps/; revision=610421
This commit is contained in:
Stephan Kulow 2006-12-04 09:32:14 +00:00
parent 10134dca0f
commit 3d1ee2abd3

View file

@ -135,7 +135,8 @@ void KFindPart::removeFile(KFileItem *item)
listiter.append(iter);
}
emit newItems(listiter);
if (listiter.count())
emit newItems(listiter);
emit finished();
}
@ -145,7 +146,8 @@ void KFindPart::newFiles(const KFileItemList&)
return;
emit started();
emit clear();
emit newItems(m_lstFileItems);
if (m_lstFileItems.count())
emit newItems(m_lstFileItems);
emit finished();
}