Mercurial > hg > svcore
diff base/ResourceFinder.cpp @ 705:66de0ad10bb3
Remove out-of-context comment
author | Chris Cannam |
---|---|
date | Fri, 07 Oct 2011 17:03:04 +0100 |
parents | 1424aa29ae95 |
children | 9a0272c2d596 |
line wrap: on
line diff
--- a/base/ResourceFinder.cpp Wed Sep 28 16:49:50 2011 +0100 +++ b/base/ResourceFinder.cpp Fri Oct 07 17:03:04 2011 +0100 @@ -286,15 +286,6 @@ return false; } - // Now since the file is in the user's editable space, the user should get - // to edit it. The chords.xml file I unbundled came out 444 instead of 644 - // which won't do. Rather than put the chmod code there, I decided to put - // it here, because I think it will always be appropriate to make unbundled - // files editable. That's rather the point in many cases, and for the rest, - // nobody will likely notice they could have edited their font files or what - // have you that were unbundled to improve performance. (Dissenting - // opinions welcome. We can always shuffle this somewhere else if - // necessary. There are many possibilities.) QFile chmod(target); chmod.setPermissions(QFile::ReadOwner | QFile::ReadUser | /* for potential platform-independence */