diff options
Diffstat (limited to 'src/viewproperties.cpp')
-rw-r--r-- | src/viewproperties.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/viewproperties.cpp b/src/viewproperties.cpp index 25f8af3..ced4b4b 100644 --- a/src/viewproperties.cpp +++ b/src/viewproperties.cpp @@ -77,14 +77,14 @@ ViewProperties::ViewProperties(KURL url) : const bool isValidForSubDirs = !node.isEmpty() && node.isValidForSubDirs(); while ((dir.path() != rootDir) && dir.cdUp()) { TQFile file(dir.path() + FILE_NAME); - PropertiesNode tqparentNode(&file); - if (!tqparentNode.isEmpty()) { - const bool inheritProps = tqparentNode.isValidForSubDirs() && - (tqparentNode.subDirProperties().m_timeStamp > + PropertiesNode parentNode(&file); + if (!parentNode.isEmpty()) { + const bool inheritProps = parentNode.isValidForSubDirs() && + (parentNode.subDirProperties().m_timeStamp > node.localProperties().m_timeStamp); if (inheritProps) { - node.setLocalProperties(tqparentNode.subDirProperties()); + node.setLocalProperties(parentNode.subDirProperties()); break; } } |