Revision 1183763

Go back to digest for 10th October 2010

Optimization in KDE Base

David Faure committed changes in /trunk/KDE/kdelibs/kio/kio/kdirlister.cpp:

Optimize a decAutoUpdate+incAutoUpdate code path which led to unregistering+reregistering to KDirWatch for the same path,
which is unnecessary, and probaby caused the bug Lubos reported, where OOo's KFileDialog wouldn't show files created
since the last filedialog, because that event gets processed very late (no event loop while no dialog is up), after the

Tested with "./kdirlistertest testOpenUrl testOpenUrlFromCache" and watching the KDirWatch debug output.

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/kio/kio/kdirlister.cpp
1 files changed in total