Revision 56cf52d...

Go back to digest for 26th May 2013

Optimization in KDE Base

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

KFileItemModelRolesUpdater: only update the size for changed folders

When using inotify, we also receive signals for modified files, even if
we only ask KDirWatch to watch the directory containing them. In that
case, we must not set the size to -1 (which means "unknown number of
items" for folders) temporarily, or we end up with an apparent file size
of 2^64 - 1 bytes.


FIXED-IN: 4.10.4
REVIEW: 110428

File Changes

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