Revision 04229f8...

Go back to digest for 30th June 2013

Bug Fixes in KDE Base

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

Prevent possible infinite recursion in ViewProperties

If each directory can have its own view properties, and loadting the
.directory file fails in a directory, we have to load the global view
properties. However, if we try to do this by changing the "global view
properties setting" and loading the view properties for the same
directory again, we might get an infinite recursion if changing the
setting fails.

We now force a loading of the global view properties by constructing a
new ViewProperties object with an empty URL.

Thanks to Kurt Hindenburg for helping to debug this issue (which was
only reproducible on MacOS).


FIXED-IN: 4.10.5
REVIEW: 111182

File Changes

Modified 1 files
  • dolphin/src/views/viewproperties.cpp
1 files changed in total