mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Don't emit newItems with no items. (BR68154)
svn path=/trunk/kdebase/kfind/; revision=288746
This commit is contained in:
parent
6c00f69953
commit
23d3121367
1 changed files with 2 additions and 1 deletions
|
@ -203,7 +203,8 @@ void KFindPart::restoreState( QDataStream& stream )
|
|||
stream >> *item;
|
||||
m_lstFileItems.append(item);
|
||||
}
|
||||
emit newItems(m_lstFileItems);
|
||||
if (nbitems)
|
||||
emit newItems(m_lstFileItems);
|
||||
|
||||
emit finished();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue