Revision a502d39...

Go back to digest for 16th September 2012

Bug Fixes in KDE Base

Frank Reininghaus committed changes in [kde-baseapps/KDE/4.9] dolphin/src/kitemviews/kstandarditemlistwidget.cpp:

Fix possible crash in KStandardItemListWidget::paint()

According to the backtrace in the bug report, it is possible that
KStandardItemListWidget::paint() is called if the hash m_textInfo has
not been initialised. The widget's index must be -1 in this case, see
KStandardItemListWidget::triggerCacheRefreshing(). It looks like this
can only happen if the item is about to be removed from the view, see
KItemListView::slotItemsRemoved().

I could not reproduce the crash, so I'm not sure why exactly this
happens, but this commit should at least prevent the crash.


FIXED-IN: 4.9.2

File Changes

Modified 1 files
  • dolphin/src/kitemviews/kstandarditemlistwidget.cpp
1 files changed in total