Revision 751c405...

Go back to digest for 19th February 2012

Bug Fixes in Utilities

Rolf Eike Beer committed changes in [kgpg/KDE/4.8] /:

fix crashes on model changes

QAbstractItemModel::changePersistentIndex() is heavily underdocumented, so I
probably got it wrong. Use beginResetModel()/endResetModel() to guard "global"
changes in the model instead of layoutAboutToBeChanged()/layoutChanged(). This
should hopefully get rid of all the spurious crashes deep in the Qt model
implementation.



FIXED-IN:4.8.1

File Changes

Modified 2 files
  •   model/kgpgitemmodel.cpp
  •   model/kgpgitemmodel.h
2 files changed in total