Summary: | konqueror crash after a lot of cut&paste operations in tree view | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | BORGULYA Gábor <bugs2> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
BORGULYA Gábor
2006-11-06 17:32:03 UTC
SVN commit 610419 by coolo: protect against empty lists BUG: 136958 M +2 -1 kfind/kfindpart.cpp M +2 -0 konqueror/listview/konq_treeviewwidget.cc --- branches/KDE/3.5/kdebase/kfind/kfindpart.cpp #610418:610419 @@ -145,7 +145,8 @@ return; emit started(); emit clear(); - emit newItems(m_lstFileItems); + if (m_lstFileItems.count()) + emit newItems(m_lstFileItems); emit finished(); } --- branches/KDE/3.5/kdebase/konqueror/listview/konq_treeviewwidget.cc #610418:610419 @@ -189,6 +189,8 @@ void KonqTreeViewWidget::slotNewItems( const KFileItemList &entries ) { + if (!entries.count()) + return; // Find parent item - it's the same for all the items QPtrListIterator<KFileItem> kit( entries ); KURL dir( (*kit)->url().upURL() ); Thank you for fixing the bug, Stephan. I will upgrade to the new gentoo package ASAP. -- Gabor |