]> cloud.milkyroute.net Git - dolphin.git/commit
Don't create a .directory-file for each directory
authorPeter Penz <peter.penz19@gmail.com>
Fri, 18 May 2012 17:39:03 +0000 (19:39 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Fri, 18 May 2012 17:43:17 +0000 (19:43 +0200)
commitd9eab08fcb8bfc56470a7f418465607888b5f1ba
tree9985d8d55e59e5f44a50bf1bdee0d7e98bc12d78
parenta6241cf8ea41c28be0f10318704f70b89336f675
Don't create a .directory-file for each directory

This regression has been introduced on master and has not been
released yet: Due to the changed properties-format an update has
been done which resulted in writing a .directory file into each
newly entered directory.

The patch updates the view-properties and version only in the
constructor so that it is assured that reading properties never
accidently will change the internal version.

A unit-test has been added to catch regressions like this in future.

BUG: 300240
FIXED-IN: 4.9.0
src/tests/CMakeLists.txt
src/tests/testdir.cpp
src/tests/testdir.h
src/tests/viewpropertiestest.cpp [new file with mode: 0644]
src/views/viewproperties.cpp