From d9eab08fcb8bfc56470a7f418465607888b5f1ba Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 18 May 2012 19:39:03 +0200 Subject: 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/testdir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/testdir.h') diff --git a/src/tests/testdir.h b/src/tests/testdir.h index 80e519e6b..0d3c5dd8d 100644 --- a/src/tests/testdir.h +++ b/src/tests/testdir.h @@ -33,7 +33,7 @@ class TestDir : public KTempDir { public: - TestDir(); + TestDir(const QString& directoryPrefix = QString()); virtual ~TestDir(); KUrl url() const; -- cgit v1.3