Revision a79c3a3...
Go back to digest for 26th May 2013Bug Fixes in KDE Base
Frank Reininghaus committed changes in [kde-baseapps/KDE/4.10] /src:
Do not reset the 'isExpanded' state when an expanded folder is refreshed
If an item is moved out of an expanded folder, the model receives the
dir lister's refreshItems signal for the folder. The method
retrieveData() then updates the folder's properties. This commit makes
sure that the 'isExpanded' state is not touched by retrieveData(). A
side-effect is that the 'isExpanded' role is not initialized to 'false',
but this does not matter because trying to read a non-existing role from
the QHash<QByteArray, QVariant> yields a default-constructed QVariant,
which evaluates to 'false'.
FIXED-IN: 4.10.4
REVIEW: 110401
File Changes
Modified 2 files
- /src
- dolphin/kitemviews/kfileitemmodel.cpp
- dolphin/tests/kfileitemmodeltest.cpp
2 files changed in total