~blue-shell/kde-baseapps/netrunner_4.10

Viewing all changes in revision 17900.

  • Committer: Frank Reininghaus
  • Date: 2013-06-23 08:01:24 UTC
  • Revision ID: git-v1:04229f8f6c3b5c7732251ea4dd038b5fc81fc388
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).

BUG: 316209
FIXED-IN: 4.10.5
REVIEW: 111182

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: